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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x3c]
push ebx
push esi
mov esi, eax
mov eax, dword [edx + 0x58]
push edi
mov edi, dword [esi + 0x1bc]
mov dword [esp + 0x30], edi
mov edi, dword [esi + 0x1c0]
mov dword [esp + 0x34], edi
mov edi, dword [esi + 0x160]
mov dword [esp + 0x4c], eax
mov eax, dword [eax + 0xb8]
mov dword [esp + 0x14], edi
mov edi, dword [esi + 0x15c]
mov dword [esp + 0x2c], edi
mov edi, dword [eax + 0x14]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
xor ebx, ebx
add eax, 0xfffffff8
mov dword [esp + 0x48], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
cmp eax, 0x38
ja case.0x43b792.9
movzx eax, byte [eax + 0x43c4b8]
jmp dword [eax*4 + 0x43c4a4]
mov eax, dword [esi + 0x170]
mov ecx, dword [ecx + 0x1a0]
lea ebx, [eax + 0x280]
mov dword [esp + 0x6c], ebx
lea ebx, [eax + 0x500]
mov dword [esp + 0x68], eax
add eax, 0x780
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x2c]
push 0x10
mov dword [esp + 0x78], ebx
mov ebx, dword [ebp + 0xc]
push 0x10
mov dword [esp + 0x84], ecx
push eax
add ebx, 0x38
lea ecx, [esp + 0x74]
mov eax, edx
call fcn.0043d760
mov ebx, dword [ebp + 0xc]
movzx ecx, byte [ebx + 0x14]
add esp, 0xc
lea eax, [ebx + 0x74]
push eax
push ecx
mov ecx, dword [ebp + 0x10]
mov eax, esi
call fcn.0044dd60
mov edx, dword [ebx + 0x64]
mov dword [esi + 0x110], edx
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x40]
movzx edx, word [ebx + 0x74]
mov dword [esp + 0x2c], ecx
movzx ecx, word [ebx + 0x76]
mov dword [esp + 0x28], eax
movsx eax, cx
push 8
sar eax, 3
mov dword [esp + 0x6c], edx
imul eax, edi
push 8
push ecx
mov ecx, dword [esp + 0x74]
movsx edx, dx
push ecx
mov ecx, dword [esp + 0x2c]
sar edx, 3
add eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x3c]
mov edx, dword [edx + 0x48]
push 8
push ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
add eax, ecx
push edi
push eax
call edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
movzx edx, word [ebx + 0x76]
movzx eax, word [ebx + 0x74]
mov ecx, dword [ecx + 0x48]
push 8
push 8
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x4c]
add eax, 0x40
push 8
push eax
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x9c]
add eax, edx
push edi
push eax
call ecx
add esp, 0x48
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x3c]
mov edx, dword [edx + 0x54]
push 0x10
push eax
mov eax, dword [ecx + 0x98]
mov ecx, dword [esi + 0x1a0]
push eax
push ecx
call edx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x60]
push 8
push ecx
mov ecx, dword [edx + 0x9c]
mov edx, dword [esi + 0x1a4]
push ecx
push edx
call eax
add dword [ebx + 0x18], eax
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x6c]
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + 0x60]
push 8
push edx
mov edx, dword [eax + 0xa0]
mov eax, dword [esi + 0x1a8]
push edx
push eax
call ecx
add esp, 0x30
add dword [ebx + 0x18], eax
jmp 0x43c482
mov eax, dword [ecx + 0x1a8]
mov dword [esp + 0x18], ebx
mov ebx, dword [ebp + 0xc]
xor edx, edx
lea ecx, [esi + 0x110]
add ebx, 0x1a4
mov dword [esp + 0x7c], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], ebx
jmp 0x43b948
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
lea ecx, [eax*8]
mov eax, dword [esi + 0x170]
add eax, edx
mov dword [esp + 0x1c], ecx
lea ecx, [eax + 0x280]
mov dword [esp + 0x6c], ecx
lea ecx, [eax + 0x500]
add edx, 0x140
mov dword [esp + 0x68], eax
add eax, 0x780
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x78], eax
mov al, byte [edx + 0x14]
test ecx, ecx
jne 0x43b9a4
cmp al, byte [esi + 0x75]
jne 0x43b9b3
mov eax, dword [esi + 4]
mov dword [ebx], eax
jmp 0x43b9c4
cmp al, byte [esi + 0x86]
jne 0x43b9b3
mov ecx, dword [esi + 0x48]
mov dword [ebx], ecx
jmp 0x43b9c4
movsx edx, al
push ebx
push edx
push 4
mov eax, esi
call fcn.0044dbb0
add esp, 0xc
mov eax, dword [esp + 0x1c]
movzx ecx, byte [eax + 0x61f0b0]
add ecx, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
push 8
push 0x10
push ecx
add ebx, 0xffffffd4
lea ecx, [esp + 0x74]
call fcn.0043d760
mov ebx, dword [esp + 0x54]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add esp, 0xc
lea eax, [ebx + 0x10]
push eax
movzx eax, byte [edx + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x28]
mov eax, esi
call fcn.0044de90
mov edx, dword [ebx]
mov eax, dword [esp + 0x58]
mov dword [eax], edx
mov ecx, dword [ebx - 0x24]
add dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x24]
mov edx, dword [ebx - 0x20]
add dword [esp + 0x30], edx
movzx edx, word [ebx + 0x10]
lea ecx, [eax*4]
shl eax, 5
imul ecx, edi
mov dword [esp + 0x34], eax
movzx eax, word [ebx + 0x12]
cwde
sar eax, 3
imul eax, edi
mov dword [esp + 0x6c], edx
movsx edx, dx
sar edx, 3
add eax, edx
mov edx, dword [esp + 0x6c]
add ecx, eax
mov eax, dword [ebp + 8]
add esp, 0xc
push 4
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x3c]
movzx eax, word [ebx + 0x12]
push 8
push eax
mov eax, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x38]
add edx, eax
mov eax, dword [esp + 0x40]
push 8
push edx
mov edx, dword [esp + 0x34]
add edx, eax
mov eax, dword [ecx + 0x48]
push edi
push edx
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
movzx eax, word [ebx + 0x12]
movzx ecx, word [ebx + 0x10]
push 4
push 8
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x58]
add eax, 0x40
push 8
add ecx, eax
push ecx
push edi
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x58]
mov edx, dword [edx + 0x48]
add ecx, eax
push ecx
call edx
mov eax, dword [esp + 0x58]
add dword [esp + 0x8c], 4
inc eax
add ebx, 0x40
add esp, 0x40
cmp eax, 2
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], ebx
jl 0x43b940
jmp case.0x43b792.9
mov eax, dword [ecx + 0x1ac]
mov dword [esp + 0x18], ebx
mov ebx, dword [ebp + 0xc]
xor edx, edx
lea ecx, [esi + 0x110]
add ebx, 0x224
mov dword [esp + 0x7c], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], ebx
jmp 0x43bb19
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
lea ecx, [eax*4]
mov eax, dword [esi + 0x170]
add eax, edx
mov dword [esp + 0x1c], ecx
lea ecx, [eax + 0x280]
add edx, 0x10
mov dword [esp + 0x6c], ecx
lea ecx, [eax + 0x500]
mov dword [esp + 0x44], edx
mov edx, dword [ebp + 0xc]
mov dl, byte [edx + 0x14]
mov dword [esp + 0x68], eax
add eax, 0x780
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
jne 0x43bb71
cmp dl, byte [esi + 0x7a]
jne 0x43bb8d
mov eax, dword [esi + 0x18]
mov dword [ebx], eax
jmp 0x43bba2
mov al, byte [esi + 0x79]
mov cl, 5
cmp al, 0xfe
jne 0x43bb7f
mov al, byte [esi + 0x76]
mov cl, 2
cmp dl, al
jne 0x43bb8d
movsx ecx, cl
mov edx, dword [esi + ecx*4]
mov dword [ebx], edx
jmp 0x43bba2
mov cl, byte [esp + 0x1c]
movsx eax, dl
push ebx
push eax
push 2
mov eax, esi
call fcn.0044dbb0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
movzx edx, byte [ecx + 0x61f0b0]
add edx, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
push 0x10
push 8
add ebx, 0xffffffd4
push edx
lea ecx, [esp + 0x74]
call fcn.0043d760
mov ebx, dword [esp + 0x54]
mov ecx, dword [ebp + 0xc]
mov cl, byte [ecx + 0x14]
mov edx, dword [esp + 0x28]
add esp, 0xc
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, esi
call fcn.0044dfe0
mov edx, dword [ebx]
mov eax, dword [esp + 0x54]
mov dword [eax], edx
mov ecx, dword [ebx - 0x24]
add dword [esp + 0x28], ecx
movzx ecx, word [ebx + 0x12]
mov edx, dword [ebx - 0x20]
add dword [esp + 0x2c], edx
movzx edx, word [ebx + 0x10]
movsx eax, cx
sar eax, 3
imul eax, edi
mov dword [esp + 0x68], edx
push 8
movsx edx, dx
push 4
push ecx
mov ecx, dword [esp + 0x74]
sar edx, 3
add eax, edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x2c]
add eax, edx
add edx, ecx
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x74]
mov eax, dword [eax + 0x3c]
push 8
push edx
mov edx, dword [esp + 0x50]
add ecx, edx
mov edx, dword [eax + 0x48]
push edi
push ecx
call edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
movzx edx, word [ebx + 0x12]
movzx eax, word [ebx + 0x10]
push 8
push 4
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x4c]
add eax, 0x40
add edx, eax
mov eax, dword [esp + 0x6c]
push 8
push edx
mov edx, dword [esp + 0x9c]
add edx, eax
mov eax, dword [ecx + 0x48]
push edi
push edx
call eax
mov eax, dword [esp + 0x60]
add esp, 0x48
add dword [esp + 0x4c], 4
inc eax
add ebx, 0x40
cmp eax, 2
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], ebx
jl 0x43bb11
jmp case.0x43b792.9
mov edx, dword [ebp + 0xc]
lea ebx, [edx + 0x8b6]
mov al, 0xfe
mov dword [esp + 0x4c], ebx
lea ebx, [edx + 0x2b6]
mov byte [esi + 0x89], al
mov byte [esi + 0x7d], al
mov dword [esp + 0x5c], ebx
xor eax, eax
lea ebx, [edx + 0xb6]
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], 0x61b860
mov dword [esp + 0x3c], ebx
jmp 0x43bcf3
mov edx, dword [ebp + 0xc]
mov dl, byte [edx + 0x14]
lea ebx, [eax*4]
mov dword [esp + 0x28], ebx
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx + 0x18]
mov byte [eax + ebx], dl
mov edx, dword [ebp + 0x10]
movzx edx, byte [edx + eax + 4]
dec edx
cmp edx, 7
ja case.0x43bd1c.3
jmp dword [edx*4 + 0x43c4f4]
mov ecx, dword [ecx + 0x1a4]
mov edx, dword [eax*4 + 0x61b850]
mov dword [esp + 0x7c], ecx
push edx
mov eax, esi
lea ecx, [esp + 0x6c]
call fcn.0043d590
mov ebx, dword [esp + 0x40]
add esp, 4
lea eax, [ebx - 0x12]
push eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 0x14]
push ecx
mov cl, byte [esp + 0x30]
push 2
mov eax, esi
call fcn.0044dbb0
mov edx, dword [esp + 0x34]
movzx eax, byte [edx + 0x61f0b0]
add eax, dword [esp + 0x38]
add esp, 0xc
push 8
push 8
push eax
mov eax, dword [ebp + 8]
add ebx, 0xffffffc2
lea ecx, [esp + 0x74]
call fcn.0043d760
mov eax, dword [esp + 0x48]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov bl, byte [edx + 0x14]
add esp, 0xc
add eax, 0xfffffffe
push eax
push ecx
mov ecx, dword [esp + 0x30]
mov eax, esi
call fcn.0044e140
mov eax, dword [esp + 0x30]
movzx ecx, byte [eax + 0x61b5b8]
mov eax, dword [esp + 0x44]
mov edx, dword [eax - 0x12]
mov ebx, dword [esp + 0x44]
mov dword [esi + ecx*4 + 0x110], edx
mov ecx, dword [ebx - 0x32]
add dword [esp + 0x2c], ecx
movzx edx, word [ebx - 2]
movzx ecx, word [ebx]
add eax, 0xffffffee
mov eax, dword [ebx - 0x36]
add dword [esp + 0x28], eax
lea eax, [ebx - 2]
mov dword [esp + 0x60], eax
movsx eax, cx
sar eax, 3
movsx edx, dx
imul eax, edi
sar edx, 3
add eax, edx
mov edx, dword [esp + 0x20]
mov ecx, edx
and edx, 0xfffffffe
add edx, edx
mov dword [esp + 0x48], edx
imul edx, edi
and ecx, 1
add ecx, ecx
add ecx, ecx
add edx, ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x48]
lea ecx, [ecx + edx*8]
mov edx, dword [esp + 0x24]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x30], ecx
push 4
movzx eax, word [ebx]
push 4
push eax
mov eax, dword [esp + 0x6c]
movzx eax, word [eax]
push eax
mov eax, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esp + 0x34]
push 8
push ecx
mov ecx, dword [esp + 0x50]
add eax, ecx
mov ecx, dword [edx + 0x48]
push edi
push eax
call ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x3c]
movzx edx, word [ebx]
mov eax, dword [esp + 0x80]
push 4
push 4
push edx
movzx edx, word [eax]
mov eax, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x60]
add eax, 0x40
add edx, eax
mov eax, dword [esp + 0x6c]
push 8
push edx
mov edx, dword [esp + 0x5c]
add edx, eax
mov eax, dword [ecx + 0x48]
push edi
push edx
call eax
add esp, 0x48
jmp 0x43c452
mov ecx, dword [ecx + 0x1b0]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x7c], ecx
mov ecx, eax
and ecx, 1
and eax, 0xfffffffe
add ecx, ecx
add eax, eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], ebx
jmp 0x43bee4
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov edx, dword [esi + 0x170]
add eax, edx
lea ecx, [eax + 0x280]
lea edx, [eax + 0x500]
mov dword [esp + 0x68], eax
add eax, 0x780
mov dword [esp + 0x78], eax
lea eax, [ebx - 0x12]
push eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x70], ecx
movzx ecx, byte [eax + 0x14]
push ecx
mov cl, byte [esp + 0x40]
push 1
mov eax, esi
mov dword [esp + 0x80], edx
call fcn.0044dbb0
mov edx, dword [esp + 0x44]
movzx eax, byte [edx + 0x61f0b0]
add eax, dword [esp + 0x38]
add esp, 0xc
push 4
push 4
push eax
mov eax, dword [ebp + 8]
add ebx, 0xffffffc2
lea ecx, [esp + 0x74]
call fcn.0043d760
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x14]
mov eax, dword [esp + 0x44]
movzx cx, byte [eax + 0x61bb20]
movzx eax, byte [eax + 0x61b5b8]
mov ebx, dword [esp + 0x4c]
mov byte [esp + 0x1c], dl
movzx edx, cx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x6c], edx
mov edx, dword [ecx + 0x14]
mov ecx, dword [ebx - 2]
mov dword [edx + eax*4], ecx
movsx eax, word [esp + 0x6c]
movzx edx, byte [esp + 0x1c]
mov byte [eax + esi + 0x74], dl
mov ecx, dword [ebx - 2]
mov edx, dword [esp + 0x44]
mov dword [esi + eax*4], ecx
movzx eax, byte [edx + 0x61b5b8]
mov ecx, dword [ebx - 0x12]
mov dword [esi + eax*4 + 0x110], ecx
mov eax, dword [ebx - 0x32]
add dword [esp + 0x30], eax
movzx eax, word [ebx]
movzx ecx, word [ebx - 2]
mov edx, dword [ebx - 0x36]
add dword [esp + 0x2c], edx
mov edx, dword [esp + 0x5c]
cwde
sar eax, 3
imul eax, edi
movsx ecx, cx
sar ecx, 3
add eax, ecx
mov ecx, edx
and edx, 0xfffffffe
add edx, dword [esp + 0x70]
and ecx, 1
add ecx, dword [esp + 0x64]
mov dword [esp + 0x4c], edx
imul edx, edi
add ecx, ecx
add esp, 0xc
add edx, ecx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x40]
lea ecx, [ecx + edx*8]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
add edx, eax
mov eax, dword [ebp + 8]
push 2
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x3c]
movzx eax, word [ebx]
push 2
push eax
movzx eax, word [ebx - 2]
push eax
mov eax, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + 0x2c]
push 8
push ecx
mov ecx, dword [esp + 0x48]
add eax, ecx
mov ecx, dword [edx + 0x48]
push edi
push eax
call ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x3c]
movzx edx, word [ebx]
movzx eax, word [ebx - 2]
push 2
push 2
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x44]
add eax, 0x40
add edx, eax
mov eax, dword [esp + 0x64]
push 8
push edx
mov edx, dword [esp + 0x54]
add edx, eax
mov eax, dword [ecx + 0x48]
push edi
push edx
call eax
mov eax, dword [esp + 0x90]
add dword [esp + 0x94], 4
inc dword [esp + 0x78]
inc eax
add ebx, 0x40
add esp, 0x40
cmp eax, 4
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], ebx
jl 0x43bee0
jmp 0x43c452
mov ecx, dword [ecx + 0x1b4]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x7c], ecx
mov ecx, eax
and ecx, 1
add ecx, ecx
add ecx, ecx
and eax, 0xfffffffe
mov dword [esp + 0x64], ecx
mov ecx, eax
imul eax, edi
add eax, eax
shl ecx, 4
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
add ebx, 0xfffffe00
mov dword [esp + 0x38], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x60], 2
jmp 0x43c104
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov edx, dword [esi + 0x170]
add eax, edx
lea ecx, [eax + 0x280]
lea edx, [eax + 0x500]
mov dword [esp + 0x68], eax
add eax, 0x780
mov dword [esp + 0x78], eax
lea eax, [ebx - 0x12]
push eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x70], ecx
movzx ecx, byte [eax + 0x14]
push ecx
mov cl, byte [esp + 0x40]
push 2
mov eax, esi
mov dword [esp + 0x80], edx
call fcn.0044dbb0
mov edx, dword [esp + 0x44]
movzx eax, byte [edx + 0x61f0b0]
add eax, dword [esp + 0x38]
add esp, 0xc
push 4
push 8
push eax
mov eax, dword [ebp + 8]
add ebx, 0xffffffc2
lea ecx, [esp + 0x74]
call fcn.0043d760
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ebx, dword [esp + 0x5c]
add esp, 0xc
push edx
mov dl, byte [eax + 0x14]
mov eax, dword [esp + 0x3c]
lea ecx, [ebx - 2]
call fcn.0044e1f0
mov ecx, dword [esp + 0x3c]
movzx edx, byte [ecx + 0x61b5b8]
mov eax, dword [ebx - 0x12]
mov dword [esi + edx*4 + 0x110], eax
movzx eax, word [ebx]
mov ecx, dword [ebx - 0x36]
add dword [esp + 0x24], ecx
movzx ecx, word [ebx - 2]
mov edx, dword [ebx - 0x32]
add dword [esp + 0x28], edx
mov edx, dword [esp + 0x44]
cwde
sar eax, 3
imul eax, edi
movsx ecx, cx
sar ecx, 3
add eax, ecx
mov ecx, dword [esp + 0x68]
add edx, ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x5c]
add ecx, edx
mov edx, dword [esp + 0x20]
add edx, eax
mov eax, dword [ebp + 8]
add esp, 4
push 2
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x3c]
movzx eax, word [ebx]
push 4
push eax
movzx eax, word [ebx - 2]
push eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
push 8
add ecx, eax
push ecx
mov ecx, dword [esp + 0x48]
push edi
mov eax, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [edx + 0x48]
push eax
call ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x3c]
movzx edx, word [ebx]
movzx eax, word [ebx - 2]
push 2
push 4
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x44]
add eax, 0x40
add edx, eax
mov eax, dword [esp + 0x64]
push 8
push edx
mov edx, dword [esp + 0x54]
add edx, eax
mov eax, dword [ecx + 0x48]
push edi
push edx
call eax
add dword [esp + 0x94], 8
add dword [esp + 0x98], 0x10
add dword [esp + 0x78], 2
lea eax, [edi + edi]
add dword [esp + 0x80], eax
add ebx, 0x40
add esp, 0x40
sub dword [esp + 0x60], 1
mov dword [esp + 0x50], ebx
jne 0x43c100
jmp 0x43c452
mov ecx, dword [ecx + 0x1b8]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x7c], ecx
mov ecx, eax
and ecx, 0xfffffffe
add ecx, ecx
mov dword [esp + 0x40], ecx
imul ecx, edi
and eax, 1
add eax, eax
add eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x60], 2
jmp 0x43c2d7
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
mov edx, dword [esi + 0x170]
add eax, edx
lea ecx, [eax + 0x280]
lea edx, [eax + 0x500]
mov dword [esp + 0x68], eax
add eax, 0x780
mov dword [esp + 0x78], eax
lea eax, [ebx - 0x12]
push eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x70], ecx
movzx ecx, byte [eax + 0x14]
push ecx
mov cl, byte [esp + 0x40]
push 1
mov eax, esi
mov dword [esp + 0x80], edx
call fcn.0044dbb0
mov edx, dword [esp + 0x44]
movzx eax, byte [edx + 0x61f0b0]
add eax, dword [esp + 0x38]
add esp, 0xc
push 8
push 4
push eax
mov eax, dword [ebp + 8]
add ebx, 0xffffffc2
lea ecx, [esp + 0x74]
call fcn.0043d760
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ebx, dword [esp + 0x60]
add esp, 0xc
push edx
mov dl, byte [eax + 0x14]
mov eax, dword [esp + 0x3c]
lea ecx, [ebx - 2]
call fcn.0044e250
mov ecx, dword [esp + 0x3c]
movzx edx, byte [ecx + 0x61b5b8]
mov eax, dword [ebx - 0x12]
mov dword [esi + edx*4 + 0x110], eax
movzx eax, word [ebx]
mov ecx, dword [ebx - 0x36]
add dword [esp + 0x24], ecx
movzx ecx, word [ebx - 2]
mov edx, dword [ebx - 0x32]
add dword [esp + 0x28], edx
mov edx, dword [esp + 0x68]
cwde
sar eax, 3
imul eax, edi
movsx ecx, cx
sar ecx, 3
add eax, ecx
mov ecx, dword [esp + 0x54]
add edx, ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x44]
lea ecx, [ecx + edx*8]
mov edx, dword [esp + 0x20]
add edx, eax
mov eax, dword [ebp + 8]
add esp, 4
push 4
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x3c]
movzx eax, word [ebx]
push 2
push eax
movzx eax, word [ebx - 2]
push eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
push 8
add ecx, eax
push ecx
mov ecx, dword [esp + 0x48]
push edi
mov eax, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [edx + 0x48]
push eax
call ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x3c]
movzx edx, word [ebx]
movzx eax, word [ebx - 2]
push 4
push 2
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x44]
add eax, 0x40
add edx, eax
mov eax, dword [esp + 0x64]
push 8
push edx
mov edx, dword [esp + 0x54]
add edx, eax
mov eax, dword [ecx + 0x48]
push edi
push edx
call eax
add dword [esp + 0x98], 4
add dword [esp + 0x90], 2
mov eax, 1
add dword [esp + 0x78], eax
add ebx, 0x40
add esp, 0x40
sub dword [esp + 0x60], eax
mov dword [esp + 0x54], ebx
jne 0x43c2d3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
add dword [esp + 0x3c], 0x40
add dword [esp + 0x5c], 0x100
add dword [esp + 0x44], 0x10
sub dword [esp + 0x4c], 0xffffff80
inc eax
cmp eax, 4
mov dword [esp + 0x18], eax
jl 0x43bcf0
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [edx], eax
cmp byte [ebx + 0x15], 0
jne 0x43c498
mov eax, dword [esp + 0x24]
pop edi
pop esi
mov dword [ebx + 8], eax
pop ebx
mov esp, ebp
pop ebp
ret