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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ebe2e
push eax
mov dword fs:[0], esp
sub esp, 0x470
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x54]
mov dword [esi + 0xc8], ebx
cmp eax, 0x139d
jne 0x43db62
mov eax, dword [esi + 0x3c]
push ebx
mov ecx, dword [eax + 4]
push ecx
push 0x1432
call fcn.0042c700
mov edx, dword [esi + 0x128]
imul edx, dword [esi + 0x12c]
push edx
call fcn.004ded6c
mov ecx, dword [esi + 0x128]
mov edi, eax
imul ecx, dword [esi + 0x12c]
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
rep stosd dword es:[edi], eax
mov ecx, edx
push 0x14
and ecx, 3
rep stosb byte es:[edi], al
call fcn.004ddf8e
mov edi, eax
add esp, 0x14
mov dword [esp + 0x40], edi
cmp edi, ebx
mov dword [esp + 0x488], ebx
je 0x43d649
push str.multimap.rle
call fcn.0047f9d0
add esp, 4
mov ecx, edi
push eax
call fcn.004d2ad0
mov dword [esp + 0x2c], eax
jmp 0x43d64d
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x488], 0xffffffff
call fcn.004d2c10
mov ecx, dword [eax + 4]
mov ebp, dword [eax]
mov edx, ecx
add eax, 8
imul edx, ebp
mov dword [esp + 0x34], edx
mov edx, dword [esi + 0x118]
imul edx, ebp
mov dword [esp + 0x50], eax
mov eax, 0x66666667
imul edx
sar edx, 0xb
mov eax, edx
mov dword [esp + 0x44], ebx
shr eax, 0x1f
add edx, eax
mov eax, dword [esi + 0x11c]
imul eax, ecx
mov dword [esp + 0x10], ebx
mov ebx, edx
cdq
and edx, 0xfff
xor edi, edi
add eax, edx
mov edx, dword [esi + 0x120]
imul edx, ebp
sar eax, 0xc
mov dword [esp + 0x28], eax
mov eax, 0x66666667
imul edx
sar edx, 0xb
mov eax, edx
mov dword [esp + 0x38], ebp
shr eax, 0x1f
add edx, eax
mov eax, dword [esi + 0x124]
imul eax, ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0x4c]
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
sub ecx, ebx
mov dword [esp + 0x54], eax
jne 0x43d701
mov ecx, 1
mov eax, dword [esi + 0x128]
shl eax, 8
cdq
idiv ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x28]
sub ecx, eax
jne 0x43d722
mov ecx, 1
mov eax, dword [esi + 0x12c]
shl eax, 8
cdq
idiv ecx
mov edx, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x43d850
mov ecx, dword [esp + 0x50]
mov al, byte [ecx]
inc ecx
mov dword [esp + 0x50], ecx
mov cl, al
and ecx, 0x7f
test al, 0x80
mov dword [esp + 0x40], ecx
je 0x43d829
test ecx, ecx
jle 0x43d83a
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], ecx
mov ebp, eax
imul ebp, dword [esp + 0x10]
imul eax, dword [esp + 0x28]
mov dword [esp + 0x60], eax
jmp 0x43d789
mov eax, dword [esp + 0x60]
cmp edi, ebx
jl 0x43d7f2
cmp edi, dword [esp + 0x4c]
jge 0x43d7f2
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jl 0x43d7f2
cmp ecx, dword [esp + 0x54]
jge 0x43d7f2
mov edx, ebp
mov ecx, edi
sub edx, eax
sub ecx, ebx
imul ecx, dword [esp + 0x64]
sar edx, 8
imul edx, dword [esi + 0x128]
sar ecx, 8
add ecx, edx
mov edx, dword [esp + 0x24]
mov al, byte [ecx + edx]
mov edx, eax
and edx, 0xff
cmp edx, 0xff
jge 0x43d7f2
mov ebx, dword [esp + 0x24]
inc al
mov byte [ecx + ebx], al
mov eax, dword [esp + 0x14]
cmp edx, eax
jne 0x43d7ee
inc eax
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
inc edi
cmp edi, eax
jne 0x43d80c
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
xor edi, edi
inc ecx
mov dword [esp + 0x10], ecx
add ebp, eax
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp + 0x48], eax
jne 0x43d785
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
jmp 0x43d83a
add edi, ecx
cmp edi, ebp
jl 0x43d83a
mov eax, dword [esp + 0x10]
sub edi, ebp
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
add eax, ecx
mov ecx, dword [esp + 0x34]
cmp eax, ecx
mov dword [esp + 0x44], eax
jl 0x43d747
cmp edx, 1
jl 0x43d885
mov ecx, edx
lea edi, [esp + 0x84]
shl ecx, 5
sub ecx, edx
mov ebx, edx
sub ecx, 0x1f
mov eax, ecx
sub ecx, 0x1f
cdq
idiv dword [esp + 0x14]
xor edx, edx
add edi, 4
dec ebx
mov dx, word [eax*2 + 0xc87110]
mov dword [edi - 4], edx
jne 0x43d868
mov al, byte [0xcc9324]
test al, al
je 0x43d8b9
mov edx, dword [esp + 0x14]
cmp edx, 1
jle 0x43d8b9
lea ecx, [esp + 0x84]
dec edx
mov eax, dword [ecx]
add ecx, 4
mov edi, eax
and eax, 0x1f
and edi, 0x7fe0
shl edi, 1
or edi, eax
dec edx
mov dword [ecx - 4], edi
jne 0x43d89f
mov eax, dword [esi + 0x3c]
xor edi, edi
mov ecx, dword [eax + 4]
xor eax, eax
mov ax, word [ecx]
mov edx, eax
shl edx, 5
sub edx, eax
mov eax, dword [esi + 0x12c]
test eax, eax
lea ecx, [ecx + edx*2 + 0x34]
jle 0x43d926
mov eax, dword [esi + 0x128]
xor edx, edx
test eax, eax
jle 0x43d918
mov eax, dword [esp + 0x20]
mov al, byte [eax]
test al, al
je 0x43d901
and eax, 0xff
mov ax, word [esp + eax*4 + 0x80]
mov word [ecx], ax
mov eax, dword [esp + 0x20]
add ecx, 2
inc eax
inc edx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x128]
cmp edx, eax
jl 0x43d8e7
mov eax, dword [esi + 0x12c]
add ecx, 0x58
inc edi
cmp edi, eax
jl 0x43d8db
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004dec83
mov edi, dword [esp + 0x30]
add esp, 4
mov ecx, edi
call fcn.004d2bd0
test edi, edi
je 0x43d952
mov ecx, edi
call fcn.004d2b70
push edi
call fcn.004ddac0
add esp, 4
xor ebx, ebx
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x139c
call fcn.004447f0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x24]
mov dword [esp + 0x7c], ebx
sar edx, 1
sar ecx, 1
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov edi, dword [ecx + 0xac]
add esp, 0xc
cmp edi, ebx
je 0x43daab
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x43d9f6
cmp dword [esi + 0xcc], ebx
je 0x43d9c6
cmp edi, dword [esi + 0xc0]
je 0x43d9ec
mov edx, dword [esi + 0x3c]
mov ecx, dword [edx + 4]
movsx edx, word [eax + 2]
movsx eax, word [eax]
push ecx
push 0x7fff
movsx ecx, word [edi + 2]
push edx
push eax
movsx edx, word [edi]
push ecx
push edx
call fcn.00443480
add esp, 0x18
mov edi, dword [edi + 8]
mov eax, dword [edi + 8]
cmp eax, ebx
jne 0x43d9b6
mov eax, dword [esi + 0x38]
mov ebx, 1
mov ebp, dword [eax + 0xac]
test ebp, ebp
je 0x43daa9
mov ecx, dword [esi + 0x3c]
xor edx, edx
mov eax, dword [ecx + 4]
xor ecx, ecx
mov dx, word [eax + 2]
mov cx, word [eax]
push edx
add eax, 4
movsx edx, word [ebp + 2]
push ecx
push eax
sub edx, dword [esp + 0x28]
movsx eax, word [ebp]
push edx
mov edx, dword [esp + 0x28]
sub eax, edx
push eax
push 0x139c
push fcn.004c00b0
call fcn.00444850
add esp, 0x1c
lea ecx, [esp + 0x58]
push ebx
push 0x509080
push ecx
call fcn.004de113
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x7c]
lea edi, [esp + 0x64]
push edx
mov edx, dword [ecx + 4]
movsx ecx, word [ebp + 2]
push eax
add edx, 4
lea eax, [esp + 0x6c]
push edx
push eax
push 0
sub ecx, 5
push 3
push ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
movsx edx, word [ebp]
not ecx
dec ecx
shl ecx, 4
sub edx, ecx
push edx
call fcn.00442410
mov ebp, dword [ebp + 8]
add esp, 0x2c
inc ebx
test ebp, ebp
jne 0x43da0c
xor ebx, ebx
cmp dword [esi + 0xd0], ebx
je 0x43daf8
mov eax, dword [esi + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov cx, word [eax + 2]
mov dx, word [eax]
push ecx
mov ecx, dword [esp + 0x20]
add eax, 4
push edx
push eax
movsx eax, word [esi + 0xda]
sub eax, ecx
movsx ecx, word [esi + 0xd8]
sub ecx, ebx
push eax
push ecx
push 0x139c
push 0x4c00e0
call fcn.00444850
add esp, 0x1c
lea edx, [esp + 0x68]
lea eax, [esp + 0x6c]
push edx
push eax
push 0x139d
call fcn.004447f0
mov ecx, dword [esi + 0x3c]
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
xor eax, eax
mov edx, dword [ecx + 4]
xor ecx, ecx
mov ax, word [edx + 2]
mov cx, word [edx]
push eax
push ecx
sub eax, esi
add edx, 4
sub ecx, ebx
sub eax, 0x22
push edx
sub ecx, 0x1a
push eax
push ecx
push 0x139d
push fcn.004c00b0
call fcn.00444850
mov ecx, dword [esp + 0x4a8]
add esp, 0x28
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x47c
ret
mov edx, dword [esi + 0x3c]
mov ecx, dword [edx + 4]
xor edx, edx
mov dx, word [ecx + 2]
add ecx, 4
push edx
xor edx, edx
mov dx, word [ecx - 4]
push edx
push ecx
push ebx
push ebx
push eax
push fcn.004c00b0
call fcn.00444850
add esp, 0x1c
jmp 0x43d954