Function at 0xbd3930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0x4ac
mov edx, dword [edx]
mov dword [esp + 0x44], ecx
mov esi, dword [ebx + 4]
mov dword [esp + 0x38], eax
mov edi, dword [ebx + 0x50]
mov ebp, dword [ebx + 0x4c]
mov ecx, dword [edx*8 + 0x1271960]
mov dword [esp + 0x70], edx
mov edx, dword [edx*8 + 0x1271964]
mov dword [esp + 0x50], ecx
mov ecx, esi
mov dword [esp + 0x54], edx
mov edx, dword [ebx + 0x40]
lea eax, [edx + edx]
sub ecx, eax
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0x44]
lea eax, [ecx + ecx]
sub esi, eax
xor eax, eax
cmp dword [esp + 0x70], 3
mov dword [esp + 0x4c], esi
setle al
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0x3a53c]
xor eax, eax
test esi, esi
mov esi, dword [ebx + 0x54]
setne al
and dword [esp + 0x7c], eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0xbd3c82
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x3a560]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x3a558]
cmp edx, eax
mov dword [esp + 0x34], eax
jl 0xbd39e2
cmp dword [esp + 0x30], edx
cmovle edx, dword [esp + 0x30]
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x3a564]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x3a55c]
cmp ecx, eax
mov dword [esp + 0x3c], eax
jl 0xbd3a0f
cmp dword [esp + 0x30], ecx
cmovle ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], ecx
cmp esi, dword [esp + 0x3c]
jne 0xbd4774
cmp edi, dword [esp + 0x34]
jne 0xbd4774
mov edx, dword [esp + 0x44]
test edx, edx
jle 0xbd3c82
lea ecx, [esp + 0x49c]
mov eax, ebx
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x80]
mov edx, eax
mov dword [esp + 0x74], ecx
lea ecx, [ebx + 0x10]
mov ebx, edi
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x70]
add ecx, 0x27d84
mov dword [esp + 0x78], ecx
jmp 0xbd3b07
mov ebp, ecx
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x490]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
movsx ecx, word [eax + ecx*2]
mov eax, dword [esp + 0x34]
add eax, ecx
cmp ebp, eax
jle 0xbd3a96
mov ecx, dword [esp + 0x58]
mov ebp, eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x4c]
movsx ecx, word [ecx + esi*2]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x48]
movsx eax, word [ecx + ebx*2 - 4]
add eax, dword [esp + 0x494]
add eax, dword [esp + 0x34]
cmp ebp, eax
jle 0xbd44f0
mov ebp, eax
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
movsx ecx, word [eax + ecx*2]
mov eax, dword [esp + 0x498]
add ecx, eax
mov eax, dword [esp + 0x34]
add eax, ecx
cmp ebp, eax
jg 0xbd44e0
cmp dword [esp + 0x40], esi
mov esi, dword [esp + 0x40]
sete al
cmp edi, ebx
je 0xbd3c76
sub dword [esp + 0x44], 1
je 0xbd3c80
mov ebx, edi
lea ecx, [esi - 2]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], edi
sub edi, 2
mov dword [esp + 0x49c], 0x10
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x60]
mov eax, dword [edx + 0x38]
mov dword [esp + 0x2c], edx
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], eax
call dword [ecx + 0x9f63c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x280]
mov dword [esp + 8], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x60]
mov eax, dword [edx + 0x38]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], eax
call dword [ecx + 0x9f63c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x64], eax
mov eax, ebx
or eax, esi
test al, 1
jne 0xbd44f7
mov eax, dword [esp + 0x49c]
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x64]
add ecx, 1
mov dword [esp + 0x6c], ecx
lea ecx, [esi + 2]
mov dword [esp + 0x58], ecx
lea ecx, [ebx + 2]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x48c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x2c], edx
mov dword [esp], eax
mov eax, dword [esp + 0x38]
call dword [eax + ecx*4 + 0xc]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
movsx ecx, word [ecx + ebx*2]
mov dword [esp + 0x64], ecx
add ecx, dword [esp + 0x48c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x34]
movsx ecx, word [eax + ecx*2]
mov dword [esp + 0x34], ecx
add ecx, dword [esp + 0x3c]
cmp ecx, ebp
jl 0xbd3a65
mov dword [esp + 0x40], esi
jmp 0xbd3a67
test al, al
je 0xbd3afa
nop
mov ebx, edx
mov eax, dword [esp + 0x4c8]
test eax, eax
je 0xbd45c0
mov eax, dword [esp + 0x4c4]
test eax, eax
je 0xbd3cc1
mov ecx, dword [esp + 0x4c4]
lea eax, [ebp*8]
sub eax, ebp
sar eax, 3
mov edx, dword [ecx]
cmp eax, edx
jg 0xbd45a7
cmp ebp, edx
jl 0xbd44d0
mov eax, dword [esp + 0x4c0]
mov ecx, edi
test eax, eax
jle 0xbd4120
mov eax, dword [esp + 0x4c8]
mov edx, 0xffffffff
mov ecx, dword [esp + 0x4c0]
mov dword [esp + 0x34], ebp
mov ebp, edx
test eax, eax
mov eax, dword [esp + 0x54]
setne byte [esp + 0x40]
mov dword [esp + 0x64], ecx
shr eax, 0x1f
add eax, dword [esp + 0x54]
sar eax, 1
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
shr eax, 0x1f
add eax, dword [esp + 0x50]
sar eax, 1
mov dword [esp + 0x3c], eax
jmp 0xbd3d96
cmp byte [esp + 0x40], 0
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], 1
jne 0xbd3d9b
mov ecx, dword [esp + 0x4c8]
or ecx, ebp
jne 0xbd3e80
cmp ebp, 3
jne 0xbd3f62
cmp byte [esp + 0x40], 0
mov dword [esp + 0x68], edi
jne 0xbd3f62
cmp ebp, 2
jne 0xbd4040
cmp byte [esp + 0x40], 0
jne 0xbd4040
cmp dword [esp + 0x60], esi
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x60]
sete al
cmp dword [esp + 0x68], edi
je 0xbd4110
sub dword [esp + 0x64], 1
je 0xbd4118
mov edi, dword [esp + 0x68]
cmp ebp, 1
je 0xbd3d20
mov ecx, dword [esp + 0x54]
lea edx, [esi - 1]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x49c]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x80]
mov dword [esp + 8], edx
mov dword [esp + 0x49c], 0x10
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x38]
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], eax
lea eax, [ebx + 0x10]
mov dword [esp], eax
call dword [ecx + 0x9f63c]
mov ecx, dword [esp + 0x49c]
mov dword [esp + 4], 0x10
mov edx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call dword [ecx + edx*4 + 0x9f5c8]
mov edx, dword [esp + 0x48]
mov ecx, eax
movsx eax, word [edx + edi*2]
mov edx, dword [esp + 0x4c]
add eax, ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x30], eax
movsx eax, word [edx + ecx*2]
mov ecx, dword [esp + 0x34]
add eax, dword [esp + 0x30]
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0xbd4150
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x30], ecx
jge 0xbd41eb
mov ecx, dword [esp + 0x4c8]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x44], 0
or ecx, ebp
mov dword [esp + 0x34], edx
je 0xbd3d42
nop
mov ecx, dword [esp + 0x54]
lea edx, [esi + 1]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x49c]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x80]
mov dword [esp + 8], edx
mov dword [esp + 0x49c], 0x10
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x38]
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], eax
lea eax, [ebx + 0x10]
mov dword [esp], eax
call dword [ecx + 0x9f63c]
mov ecx, dword [esp + 0x49c]
mov dword [esp + 4], 0x10
mov edx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call dword [ecx + edx*4 + 0x9f5c8]
mov edx, dword [esp + 0x48]
mov ecx, eax
movsx eax, word [edx + edi*2]
mov edx, dword [esp + 0x4c]
add eax, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x30], eax
movsx eax, word [edx + ecx*2]
mov ecx, dword [esp + 0x34]
add eax, dword [esp + 0x30]
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0xbd43b3
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x34], ecx
jle 0xbd3d42
mov edx, dword [esp + 0x68]
cmp ebp, 3
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], 1
mov dword [esp + 0x60], edx
je 0xbd3d4b
mov edx, dword [esp + 0x54]
lea ecx, [edi - 1]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x80]
mov dword [esp + 0x14], esi
mov dword [esp + 8], eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x49c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x49c], 0x10
mov dword [esp + 0x10], edx
mov eax, dword [ebx + 0x38]
mov edx, dword [esp + 0x38]
mov dword [esp + 4], eax
lea eax, [ebx + 0x10]
mov dword [esp], eax
call dword [edx + 0x9f63c]
mov ecx, dword [esp + 0x49c]
mov dword [esp + 4], 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call dword [edx + ecx*4 + 0x9f5c8]
mov edx, dword [esp + 0x68]
mov ecx, eax
mov eax, dword [esp + 0x48]
movsx edx, word [eax + edx*2]
add ecx, edx
mov edx, dword [esp + 0x4c]
movsx eax, word [edx + esi*2]
add eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
cmp eax, ecx
jl 0xbd41f8
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x34], ecx
jle 0xbd4293
cmp ebp, 2
mov dword [esp + 0x34], ecx
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], 2
je 0xbd3d63
lea esi, [esi]
mov edx, dword [esp + 0x54]
lea ebp, [edi + 1]
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x49c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x80]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x49c], 0x10
mov dword [esp + 4], eax
lea eax, [ebx + 0x10]
mov dword [esp], eax
call dword [ecx + 0x9f63c]
mov ecx, dword [esp + 0x49c]
mov dword [esp + 4], 0x10
mov edx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call dword [ecx + edx*4 + 0x9f5c8]
mov edx, dword [esp + 0x48]
mov ecx, eax
movsx eax, word [edx + ebp*2]
mov edx, dword [esp + 0x4c]
add ecx, eax
movsx eax, word [edx + esi*2]
add eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
cmp eax, ecx
jl 0xbd42a0
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x34], ecx
jle 0xbd3d6e
mov dword [esp + 0x68], ebp
mov eax, 1
mov ebp, 3
cmp dword [esp + 0x68], edi
mov dword [esp + 0x34], ecx
jne 0xbd3d87
nop
test al, al
je 0xbd3d87
mov ecx, dword [esp + 0x68]
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x4c], ebp
mov dword [ebx + 0x54], esi
movsx edx, word [eax + ecx*2]
mov ecx, dword [esp + 0x4c]
movsx eax, word [ecx + esi*2]
add eax, edx
mov dword [ebx + 0x48], eax
add esp, 0x4ac
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x7c]
test eax, eax
je 0xbd3e52
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 8
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 8], ecx
mov dword [esp + 0x14], edx
mov eax, dword [ebx + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
call dword [eax + 0x9f640]
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x80]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], 8
mov dword [esp + 4], 0x10
mov eax, dword [ebx + 0x2c]
add edx, 0x27d73
mov dword [esp + 0x44], edx
mov dword [esp], eax
call dword [ecx + edx*4 + 8]
add eax, dword [esp + 0x30]
cmp dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
jg 0xbd46f4
mov dword [esp + 0x44], ebp
mov dword [esp + 0x60], esi
jmp 0xbd3d33
mov edx, dword [esp + 0x7c]
test edx, edx
je 0xbd4013
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 8
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], edx
mov eax, dword [ebx + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
call dword [eax + 0x9f640]
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x80]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], 8
mov dword [esp + 4], 0x10
mov eax, dword [ebx + 0x2c]
add edx, 0x27d73
mov dword [esp + 0x5c], edx
mov dword [esp], eax
call dword [ecx + edx*4 + 8]
add eax, dword [esp + 0x30]
cmp dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
jg 0xbd4674
mov dword [esp + 0x68], edi
jmp 0xbd3d5a
mov eax, dword [esp + 0x7c]
test eax, eax
je 0xbd40e5
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], 8
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
call dword [eax + 0x9f640]
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x80]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], 8
mov dword [esp + 4], 0x10
mov eax, dword [ebx + 0x2c]
add edx, 0x27d73
mov dword [esp + 0x5c], edx
mov dword [esp], eax
call dword [ecx + edx*4 + 8]
add eax, dword [esp + 0x30]
cmp dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
jle 0xbd3d6e
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], 8
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
call dword [eax + 0x9f640]
lea edx, [esp + 0x80]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], 8
mov dword [esp + 4], 0x10
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call dword [edx + ecx*4 + 8]
add eax, dword [esp + 0x30]
mov dword [esp + 0x30], eax
jmp 0xbd40e5
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0xbd3f37
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 8
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 8], ecx
mov dword [esp + 0x14], edx
mov eax, dword [ebx + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
call dword [eax + 0x9f640]
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x80]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], 8
mov dword [esp + 4], 0x10
mov eax, dword [ebx + 0x2c]
add edx, 0x27d73
mov dword [esp + 0x5c], edx
mov dword [esp], eax
call dword [ecx + edx*4 + 8]
add eax, dword [esp + 0x30]
cmp dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
jle 0xbd3d42
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 8
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 8], ecx
mov dword [esp + 0x14], edx
mov eax, dword [ebx + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
call dword [eax + 0x9f640]
lea edx, [esp + 0x80]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], 8
mov dword [esp + 4], 0x10
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call dword [edx + ecx*4 + 8]
add eax, dword [esp + 0x30]
mov dword [esp + 0x30], eax
jmp 0xbd3f37
mov edx, dword [esp + 0x4c4]
mov dword [edx], ebp
jmp 0xbd3cc1
mov ebp, eax
mov edi, dword [esp + 0x30]
mov eax, 1
jmp 0xbd3af2
mov edi, ebx
jmp 0xbd3ac4
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x180]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x18], ecx
lea ecx, [esi + 2]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x60]
mov eax, dword [edx + 0x38]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], eax
call dword [ecx + 0x9f63c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x380]
mov dword [esp + 8], eax
mov dword [esp + 0x18], ecx
lea ecx, [ebx + 2]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x60]
mov eax, dword [edx + 0x38]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], eax
call dword [ecx + 0x9f63c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x49c]
jmp 0xbd3bf1
mov dword [ebx + 0x4c], ebp
mov dword [ebx + 0x50], edi
mov dword [ebx + 0x54], esi
add esp, 0x4ac
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x49c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x49c], 0x10
mov dword [esp + 4], eax
lea eax, [ebx + 0x10]
mov dword [esp], eax
call dword [edx + 0x9f63c]
mov edx, dword [esp + 0x49c]
mov dword [esp + 4], 0x10
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call dword [edx + ecx*4 + 0x9f5c8]
mov ecx, dword [esp + 0x48]
mov edx, eax
movsx eax, word [ecx + edi*2]
add eax, edx
mov edx, dword [esp + 0x4c]
movsx ebp, word [edx + esi*2]
add ebp, eax
cmp ebp, 0xfffffff
jle 0xbd4831
cmp ebp, 0xfffffff
jle 0xbd3c91
mov ebp, 0x10000000
jmp 0xbd3c91
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 8
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], edx
mov eax, dword [ebx + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
call dword [eax + 0x9f640]
lea edx, [esp + 0x80]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], 8
mov dword [esp + 4], 0x10
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call dword [edx + ecx*4 + 8]
add eax, dword [esp + 0x30]
mov dword [esp + 0x30], eax
jmp 0xbd4013
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 8
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 8], ecx
mov dword [esp + 0x14], edx
mov eax, dword [ebx + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
call dword [eax + 0x9f640]
lea edx, [esp + 0x80]
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], 8
mov dword [esp + 4], 0x10
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call dword [edx + ecx*4 + 8]
add eax, dword [esp + 0x30]
mov dword [esp + 0x30], eax
jmp 0xbd3e52
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x49c], 0x10
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x49c]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0xc], edx
lea edx, [ebx + 0x10]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
mov eax, dword [ebx + 0x38]
mov dword [esp], edx
mov dword [esp + 4], eax
call dword [ecx + 0x9f63c]
mov ecx, dword [esp + 0x49c]
mov dword [esp + 4], 0x10
mov edx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call dword [ecx + edx*4 + 0x9f564]
mov edx, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0x48]
movsx edx, word [eax + edx*2]
add ecx, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x3c]
movsx eax, word [edx + ecx*2]
add eax, dword [esp + 0x30]
cmp ebp, eax
jle 0xbd3a23
mov ebp, eax
mov esi, ecx
mov edi, dword [esp + 0x34]
jmp 0xbd3a23
mov eax, dword [esp + 0x7c]
test eax, eax
je 0xbd465e
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
shr ecx, 0x1f
add ecx, dword [esp + 0x50]
shr edx, 0x1f
add edx, dword [esp + 0x54]
sar ecx, 1
mov dword [esp + 0x18], ecx
sar edx, 1
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x1c], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 8
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x30], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
call dword [eax + 0x9f640]
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x80]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], 8
mov dword [esp + 4], 0x10
mov eax, dword [ebx + 0x2c]
add edx, 0x27d73
mov dword [esp + 0x34], edx
mov dword [esp], eax
call dword [ecx + edx*4 + 8]
add ebp, eax
cmp ebp, 0xfffffff
jg 0xbd466a
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], 8
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
call dword [eax + 0x9f640]
lea edx, [esp + 0x80]
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], 8
mov dword [esp + 4], 0x10
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call dword [edx + ecx*4 + 8]
add ebp, eax
jmp 0xbd465e