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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x40
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0x92c0]
mov dword [esp + 0x38], edx
mov ebp, dword [eax + 0xfc4]
mov edx, dword [eax + 0x9410]
mov dword [esp + 0x34], edx
movsx ebx, byte [edx + 0x118]
and ebx, dword [eax + 0xf40]
call fcn.0053e2a0
mov edx, dword [esp + 0x38]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x60]
call fcn.0053e2a0
mov edx, dword [esp + 0x38]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x60]
call fcn.0053e2a0
mov edx, dword [esp + 0x38]
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x60]
call fcn.0053e2a0
mov edi, dword [esp + 0x38]
mov esi, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
or ecx, esi
or ecx, dword [edi + 0x1c]
or ecx, eax
cmp ecx, 3
mov edx, 0
seta dl
mov dword [esp + 0x24], edx
and esi, 3
mov dword [edi + 0x14], esi
and dword [edi + 0x18], 3
and dword [edi + 0x1c], 3
and eax, 3
mov dword [edi + 0x20], eax
test ebp, ebp
jbe 0x544058
mov eax, dword [esp + 0x60]
mov ebx, dword [eax + 0x9410]
cmp dword [eax + 0xf40], 0
jne 0x543b86
movzx eax, byte [0x57d08d]
mov eax, dword [eax*4 + 0x57d020]
mov edi, eax
shr edi, 4
and edi, 0xf
mov ebp, dword [esp + 0x60]
mov edx, dword [ebp + edi*4 + 0x9440]
mov esi, eax
shr esi, 0xc
and esi, 0xf
mov ecx, dword [ebp + esi*4 + 0x9440]
mov edi, dword [ebp + edi*4 + 0x9540]
mov dword [esp + 0x1c], edi
mov ebp, dword [ebp + esi*4 + 0x9540]
mov dword [esp + 0x18], ebp
jmp 0x543bd5
mov eax, dword [esp + 0x60]
push eax
push 5
call fcn.004ae0d4
add esp, 8
mov ebp, eax
shr ebp, 4
and ebp, 0xf
mov edx, dword [esp + 0x60]
mov ecx, dword [edx + ebp*4 + 0x9414]
mov dword [esp + 0x14], ecx
mov edi, eax
shr edi, 0xc
and edi, 0xf
mov ecx, dword [edx + edi*4 + 0x9414]
mov esi, dword [edx + ebp*4 + 0x9514]
mov dword [esp + 0x1c], esi
mov edx, dword [edx + edi*4 + 0x9514]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
movsx ebp, byte [ebx + 0x118]
test ebp, ebp
jne 0x543bed
cmp byte [edx + 0x118], 1
je 0x544362
xor ebx, ebx
mov dword [esp + 0x20], ebx
test ebp, ebp
jne 0x543c04
cmp byte [ecx + 0x118], 1
je 0x544370
xor ebx, ebx
mov dword [esp + 0x30], ebx
cmp byte [edx + 0x117], 1
je 0x544567
xor edx, edx
cmp byte [ecx + 0x117], 1
je 0x544532
xor eax, eax
add eax, eax
lea edx, [edx + eax + 0x36]
mov eax, dword [esp + 0x60]
call fcn.00542620
test eax, eax
je 0x54452b
xor ebx, ebx
mov edx, 4
mov ebp, dword [esp + 0x60]
jmp 0x543c51
mov edx, 5
add edx, 0x36
mov eax, ebp
call fcn.00542620
inc ebx
test eax, eax
je 0x543c65
cmp ebx, 0x1f
jl 0x543c4c
and ebx, 0x1f
mov eax, dword [esp + 0x3c]
mov byte [eax], bl
mov edx, dword [esp + 0x34]
mov byte [edx + 0x78], bl
mov ecx, dword [esp + 0x60]
mov ebx, dword [ecx + 0x9410]
cmp dword [ecx + 0xf40], 0
jne 0x543cd0
movzx eax, byte [0x57d096]
mov eax, dword [eax*4 + 0x57d020]
mov edi, eax
shr edi, 4
and edi, 0xf
mov ebp, dword [esp + 0x60]
mov edx, dword [ebp + edi*4 + 0x9440]
mov esi, eax
shr esi, 0xc
and esi, 0xf
mov ecx, dword [ebp + esi*4 + 0x9440]
mov edi, dword [ebp + edi*4 + 0x9540]
mov dword [esp + 0x1c], edi
mov ebp, dword [ebp + esi*4 + 0x9540]
mov dword [esp + 0x18], ebp
jmp 0x543d1f
mov eax, dword [esp + 0x60]
push eax
push 0xe
call fcn.004ae0d4
add esp, 8
mov ebp, eax
shr ebp, 4
and ebp, 0xf
mov edx, dword [esp + 0x60]
mov ecx, dword [edx + ebp*4 + 0x9414]
mov dword [esp + 0x14], ecx
mov edi, eax
shr edi, 0xc
and edi, 0xf
mov ecx, dword [edx + edi*4 + 0x9414]
mov esi, dword [edx + ebp*4 + 0x9514]
mov dword [esp + 0x1c], esi
mov edx, dword [edx + edi*4 + 0x9514]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
movsx ebp, byte [ebx + 0x118]
test ebp, ebp
jne 0x543d37
cmp byte [edx + 0x118], 1
je 0x54437e
xor ebx, ebx
mov dword [esp + 0x20], ebx
test ebp, ebp
jne 0x543d4e
cmp byte [ecx + 0x118], 1
je 0x54438c
xor ebx, ebx
mov dword [esp + 0x30], ebx
cmp byte [edx + 0x117], 1
je 0x5444f4
xor edx, edx
cmp byte [ecx + 0x117], 1
je 0x5444bf
xor eax, eax
add eax, eax
lea edx, [edx + eax + 0x36]
mov eax, dword [esp + 0x60]
call fcn.00542620
test eax, eax
je 0x5444b8
xor ebx, ebx
mov edx, 4
mov ebp, dword [esp + 0x60]
jmp 0x543d9b
mov edx, 5
add edx, 0x36
mov eax, ebp
call fcn.00542620
inc ebx
test eax, eax
je 0x543daf
cmp ebx, 0x1f
jl 0x543d96
and ebx, 0x1f
mov eax, dword [esp + 0x3c]
mov byte [eax + 1], bl
mov edx, dword [esp + 0x34]
mov byte [edx + 0x79], bl
mov ecx, dword [esp + 0x60]
mov ebx, dword [ecx + 0x9410]
cmp dword [ecx + 0xf40], 0
jne 0x543e1b
movzx eax, byte [0x57d09f]
mov eax, dword [eax*4 + 0x57d020]
mov edi, eax
shr edi, 4
and edi, 0xf
mov ebp, dword [esp + 0x60]
mov edx, dword [ebp + edi*4 + 0x9440]
mov esi, eax
shr esi, 0xc
and esi, 0xf
mov ecx, dword [ebp + esi*4 + 0x9440]
mov edi, dword [ebp + edi*4 + 0x9540]
mov dword [esp + 0x1c], edi
mov ebp, dword [ebp + esi*4 + 0x9540]
mov dword [esp + 0x18], ebp
jmp 0x543e6a
mov eax, dword [esp + 0x60]
push eax
push 0x17
call fcn.004ae0d4
add esp, 8
mov ebp, eax
shr ebp, 4
and ebp, 0xf
mov edx, dword [esp + 0x60]
mov ecx, dword [edx + ebp*4 + 0x9414]
mov dword [esp + 0x14], ecx
mov edi, eax
shr edi, 0xc
and edi, 0xf
mov ecx, dword [edx + edi*4 + 0x9414]
mov esi, dword [edx + ebp*4 + 0x9514]
mov dword [esp + 0x1c], esi
mov edx, dword [edx + edi*4 + 0x9514]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
movsx ebp, byte [ebx + 0x118]
test ebp, ebp
jne 0x543e82
cmp byte [edx + 0x118], 1
je 0x54439a
xor ebx, ebx
mov dword [esp + 0x20], ebx
test ebp, ebp
jne 0x543e99
cmp byte [ecx + 0x118], 1
je 0x5443a8
xor ebx, ebx
mov dword [esp + 0x30], ebx
cmp byte [edx + 0x117], 1
je 0x544481
xor edx, edx
cmp byte [ecx + 0x117], 1
je 0x54444c
xor eax, eax
add eax, eax
lea edx, [edx + eax + 0x36]
mov eax, dword [esp + 0x60]
call fcn.00542620
test eax, eax
je 0x544445
xor ebx, ebx
mov edx, 4
mov ebp, dword [esp + 0x60]
jmp 0x543ee6
mov edx, 5
add edx, 0x36
mov eax, ebp
call fcn.00542620
inc ebx
test eax, eax
je 0x543efa
cmp ebx, 0x1f
jl 0x543ee1
and ebx, 0x1f
mov eax, dword [esp + 0x3c]
mov byte [eax + 2], bl
mov edx, dword [esp + 0x34]
mov byte [edx + 0x7a], bl
mov ecx, dword [esp + 0x60]
mov ebx, dword [ecx + 0x9410]
cmp dword [ecx + 0xf40], 0
jne 0x543f66
movzx eax, byte [0x57d0a8]
mov eax, dword [eax*4 + 0x57d020]
mov edi, eax
shr edi, 4
and edi, 0xf
mov ebp, dword [esp + 0x60]
mov edx, dword [ebp + edi*4 + 0x9440]
mov esi, eax
shr esi, 0xc
and esi, 0xf
mov ecx, dword [ebp + esi*4 + 0x9440]
mov edi, dword [ebp + edi*4 + 0x9540]
mov dword [esp + 0x1c], edi
mov ebp, dword [ebp + esi*4 + 0x9540]
mov dword [esp + 0x18], ebp
jmp 0x543fb5
mov eax, dword [esp + 0x60]
push eax
push 0x20
call fcn.004ae0d4
add esp, 8
mov ebp, eax
shr ebp, 4
and ebp, 0xf
mov edx, dword [esp + 0x60]
mov ecx, dword [edx + ebp*4 + 0x9414]
mov dword [esp + 0x14], ecx
mov edi, eax
shr edi, 0xc
and edi, 0xf
mov ecx, dword [edx + edi*4 + 0x9414]
mov esi, dword [edx + ebp*4 + 0x9514]
mov dword [esp + 0x1c], esi
mov edx, dword [edx + edi*4 + 0x9514]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
movsx ebp, byte [ebx + 0x118]
test ebp, ebp
jne 0x543fcd
cmp byte [edx + 0x118], 1
je 0x5443b6
xor ebx, ebx
mov dword [esp + 0x20], ebx
test ebp, ebp
jne 0x543fe4
cmp byte [ecx + 0x118], 1
je 0x5443c4
xor ebx, ebx
mov dword [esp + 0x30], ebx
cmp byte [edx + 0x117], 1
je 0x54440e
xor edx, edx
cmp byte [ecx + 0x117], 1
je 0x5443d9
xor eax, eax
add eax, eax
lea edx, [edx + eax + 0x36]
mov eax, dword [esp + 0x60]
call fcn.00542620
test eax, eax
je 0x5443d2
xor ebx, ebx
mov edx, 4
mov ebp, dword [esp + 0x60]
jmp 0x544031
mov edx, 5
add edx, 0x36
mov eax, ebp
call fcn.00542620
inc ebx
test eax, eax
je 0x544045
cmp ebx, 0x1f
jl 0x54402c
and ebx, 0x1f
mov eax, dword [esp + 0x3c]
mov byte [eax + 3], bl
mov edx, dword [esp + 0x34]
mov byte [edx + 0x7b], bl
jmp 0x544083
cmp ebx, 1
je 0x543b2b
xor eax, eax
mov ebp, dword [esp + 0x3c]
mov byte [ebp + 3], al
mov byte [ebp + 2], al
mov byte [ebp + 1], al
mov byte [ebp], al
mov edx, dword [esp + 0x34]
mov byte [edx + 0x7b], al
mov byte [edx + 0x7a], al
mov byte [edx + 0x79], al
mov byte [edx + 0x78], al
mov eax, 1
mov dword [esp + 0x30], eax
xor ebx, ebx
xor ebp, ebp
mov eax, 5
mov dword [esp + 0x3c], eax
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + ebx*4 + 0x14]
test eax, eax
je 0x54459e
cmp eax, 1
je 0x5441f5
cmp eax, 2
jne 0x544133
lea edx, [ebx + ebx]
add edx, edx
add edx, edx
lea eax, [ebx + edx]
mov dword [esp + 0x30], eax
lea ecx, [edx + ebx + 8]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x60]
xor edx, edx
call fcn.0053fc54
mov edx, dword [esp + 0x34]
mov dword [edx + ebp*4 + 0x88], eax
mov dword [edx + ebp*4 + 0x80], eax
mov ecx, dword [esp + 0x30]
add ecx, 9
lea eax, [esi + 2]
mov dword [esp + 0xc], eax
lea eax, [edi + 2]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
xor edx, edx
call fcn.0053fc54
mov edx, dword [esp + 0x34]
mov dword [edx + ebp*4 + 0x8c], eax
mov dword [edx + ebp*4 + 0x84], eax
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0x544264
cmp eax, 3
jne 0x544264
lea edx, [ebx + ebx]
add edx, edx
add edx, edx
lea eax, [ebx + edx]
mov dword [esp + 0x30], eax
lea ecx, [edx + ebx + 0xa]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x60]
xor edx, edx
call fcn.0053fc54
mov edx, dword [esp + 0x34]
mov dword [edx + ebp*4 + 0x80], eax
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0xb]
lea eax, [esi + 2]
mov dword [esp + 0xc], eax
lea eax, [edi + 2]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
xor edx, edx
call fcn.0053fc54
mov edx, dword [esp + 0x34]
mov dword [edx + ebp*4 + 0x84], eax
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0xc]
lea eax, [esi + 4]
mov dword [esp + 0xc], eax
lea eax, [edi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
xor edx, edx
call fcn.0053fc54
mov edx, dword [esp + 0x34]
mov dword [edx + ebp*4 + 0x88], eax
mov ecx, dword [esp + 0x30]
add ecx, 0xd
lea eax, [esi + 6]
mov dword [esp + 0xc], eax
lea eax, [edi + 6]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
xor edx, edx
call fcn.0053fc54
mov edx, dword [esp + 0x34]
mov dword [edx + ebp*4 + 0x8c], eax
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0x544264
lea edx, [ebx + ebx]
add edx, edx
add edx, edx
lea eax, [ebx + edx]
mov dword [esp + 0x30], eax
lea ecx, [edx + ebx + 6]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x60]
xor edx, edx
call fcn.0053fc54
mov edx, dword [esp + 0x34]
mov dword [edx + ebp*4 + 0x84], eax
mov dword [edx + ebp*4 + 0x80], eax
mov ecx, dword [esp + 0x30]
add ecx, 7
lea eax, [esi + 2]
mov dword [esp + 0xc], eax
lea eax, [edi + 2]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
xor edx, edx
call fcn.0053fc54
mov edx, dword [esp + 0x34]
mov dword [edx + ebp*4 + 0x8c], eax
mov dword [edx + ebp*4 + 0x88], eax
xor eax, eax
mov dword [esp + 0x30], eax
add ebp, 4
add dword [esp + 0x3c], 9
inc ebx
add esi, 8
add edi, 8
cmp ebx, 4
jl 0x5440a1
mov eax, dword [esp + 0x60]
call fcn.0053ddf4
mov edx, dword [esp + 0x38]
mov dword [edx + 0xcc], eax
mov ebx, dword [esp + 0x60]
mov ecx, dword [ebx + 0x9410]
mov dword [ecx + 0x108], eax
mov eax, dword [ebx + 0x9410]
mov dword [eax + 0x100], 0
cmp dword [ebx + 0xf94], 0
je 0x5442ec
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5442ec
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0x9410]
test byte [edx + 0x108], 0xf
je 0x5442ec
mov eax, dword [esp + 0x60]
call fcn.0053e104
mov edx, dword [esp + 0x60]
mov ecx, dword [edx + 0x9410]
mov dword [ecx + 0x100], eax
mov eax, dword [esp + 0x38]
cmp dword [eax + 0xcc], 0
ja 0x544309
mov eax, dword [esp + 0x60]
mov dword [eax + 0xf4c], 0
jmp 0x54434d
mov eax, dword [esp + 0x60]
call fcn.0053e198
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0xf4c], eax
mov ebp, dword [ebx + 0xf48]
lea ecx, [ebp + eax + 0x34]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov esi, ecx
sar esi, 0x1f
sub edx, esi
lea edi, [edx + edx]
add edi, edi
sub edi, edx
lea eax, [edx + edi*4]
add eax, eax
add eax, eax
sub ecx, eax
mov dword [ebx + 0xf48], ecx
mov eax, dword [esp + 0x60]
call fcn.0053e238
mov eax, dword [esp + 0x24]
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret
mov ebx, 1
mov dword [esp + 0x20], ebx
jmp 0x543bf3
mov ebx, 1
mov dword [esp + 0x30], ebx
jmp 0x543c0a
mov ebx, 1
mov dword [esp + 0x20], ebx
jmp 0x543d3d
mov ebx, 1
mov dword [esp + 0x30], ebx
jmp 0x543d54
mov ebx, 1
mov dword [esp + 0x20], ebx
jmp 0x543e88
mov ebx, 1
mov dword [esp + 0x30], ebx
jmp 0x543e9f
mov ebx, 1
mov dword [esp + 0x20], ebx
jmp 0x543fd3
mov ebx, 1
mov dword [esp + 0x30], ebx
jmp 0x543fea
xor ebx, ebx
jmp 0x544045
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
jle 0x544006
cmp ebx, 0x16
jg 0x544006
shr eax, 0xa
and eax, 3
mov ebx, dword [esp + 0x30]
cmp bl, byte [ecx + eax + 0x78]
jge 0x544006
mov eax, 1
jmp 0x544008
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
jle 0x543ff7
cmp ebx, 0x16
jg 0x543ff7
mov ebp, eax
shr ebp, 2
and ebp, 3
mov ebx, dword [esp + 0x20]
cmp bl, byte [edx + ebp + 0x78]
jge 0x543ff7
mov edx, 1
jmp 0x543ff9
xor ebx, ebx
jmp 0x543efa
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
jle 0x543ebb
cmp ebx, 0x16
jg 0x543ebb
shr eax, 0xa
and eax, 3
mov ebx, dword [esp + 0x30]
cmp bl, byte [ecx + eax + 0x78]
jge 0x543ebb
mov eax, 1
jmp 0x543ebd
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
jle 0x543eac
cmp ebx, 0x16
jg 0x543eac
mov ebp, eax
shr ebp, 2
and ebp, 3
mov ebx, dword [esp + 0x20]
cmp bl, byte [edx + ebp + 0x78]
jge 0x543eac
mov edx, 1
jmp 0x543eae
xor ebx, ebx
jmp 0x543daf
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
jle 0x543d70
cmp ebx, 0x16
jg 0x543d70
shr eax, 0xa
and eax, 3
mov ebx, dword [esp + 0x30]
cmp bl, byte [ecx + eax + 0x78]
jge 0x543d70
mov eax, 1
jmp 0x543d72
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
jle 0x543d61
cmp ebx, 0x16
jg 0x543d61
mov ebp, eax
shr ebp, 2
and ebp, 3
mov ebx, dword [esp + 0x20]
cmp bl, byte [edx + ebp + 0x78]
jge 0x543d61
mov edx, 1
jmp 0x543d63
xor ebx, ebx
jmp 0x543c65
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
jle 0x543c26
cmp ebx, 0x16
jg 0x543c26
shr eax, 0xa
and eax, 3
mov ebx, dword [esp + 0x30]
cmp bl, byte [ecx + eax + 0x78]
jge 0x543c26
mov eax, 1
jmp 0x543c28
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
jle 0x543c17
cmp ebx, 0x16
jg 0x543c17
mov ebp, eax
shr ebp, 2
and ebp, 3
mov ebx, dword [esp + 0x20]
cmp bl, byte [edx + ebp + 0x78]
jge 0x543c17
mov edx, 1
jmp 0x543c19
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x60]
xor edx, edx
mov ecx, dword [esp + 0x3c]
call fcn.0053fc54
mov edx, dword [esp + 0x34]
mov dword [edx + ebp*4 + 0x8c], eax
mov dword [edx + ebp*4 + 0x88], eax
mov dword [edx + ebp*4 + 0x84], eax
mov dword [edx + ebp*4 + 0x80], eax
jmp 0x544264