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

Disassembly:
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x1c
call fcn.006021b0
mov ecx, dword [esp + 0x1c]
mov esi, ecx
mov ebp, dword [esp + 0x38]
lea ecx, [esp]
push 0
call fcn.004ff268
xor edi, edi
lea ecx, [esp + 0xc]
push 0
call fcn.004ff268
movzx edx, word [ebp + 0xa]
shl edx, 0x15
sar edx, 0x1b
cmp edx, 0xa
jne 0x53b194
lea eax, [ebp + 0x17]
jmp 0x53b1a4
cmp edx, 1
jne 0x53b1a1
mov eax, dword [ebp + 0x17]
add eax, 4
jmp 0x53b1a4
mov eax, dword [ebp + 0x17]
lea ecx, [esp]
push eax
push edx
call fcn.004ffc7c
mov eax, dword [esp + 0x34]
mov dl, byte [eax]
test dl, dl
jne 0x53b1d2
mov eax, dword [esp + 6]
movsx edx, word [esp + 4]
mov ecx, dword [esp]
call dword [eax*4 + 0x64e8dc]
xor ebx, ebx
jmp 0x53b2f7
movzx ebx, word [ebp + 0xa]
shl ebx, 0x15
sar ebx, 0x1b
cmp ebx, 4
je 0x53b5db
cmp ebx, 7
je 0x53b599
cmp ebx, 6
je 0x53b566
cmp ebx, 5
je 0x53b2c5
cmp ebx, 8
jne 0x53b21a
mov eax, dword [esp + 0x34]
push eax
mov ecx, dword [esp + 4]
call fcn.004e8834
mov ebx, eax
jmp 0x53b2f3
cmp ebx, 9
jne 0x53b2b0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x78]
cmp eax, 0x1b
jne 0x53b290
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0xf]
test ecx, ecx
je 0x53b25d
mov eax, dword [ecx]
call dword [eax + 0x84]
test eax, eax
je 0x53b25d
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0xf]
mov edx, dword [ecx]
call dword [edx + 0x78]
cmp eax, 0x13
je 0x53b364
lea ecx, [esp + 0xc]
push 8
call fcn.004fa970
lea eax, [esp + 0xc]
push 4
push esi
push 0xc24
push eax
mov ecx, dword [esp + 0x4c]
call fcn.004ef304
mov eax, dword [esp + 0xc]
push edi
push dword [eax]
mov ecx, dword [esp + 8]
call fcn.00536ff0
jmp 0x53b29e
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x78]
cmp eax, 0x41
je 0x53b231
mov eax, dword [esp + 0x34]
push eax
mov ecx, dword [esp + 4]
call fcn.0053705c
mov ebx, eax
jmp 0x53b2f3
lea ecx, [esp]
push esi
push 0
mov eax, dword [esp + 0x3c]
push eax
push ebx
call fcn.004ffd78
mov ebx, eax
jmp 0x53b2f3
movsx ebx, word [esi + 0x13]
add ebx, ebx
mov edx, dword [0x65fdf8]
lea ecx, [esp]
push esi
mov eax, dword [esp + 0x40]
push eax
push dword [edx + ebx*8]
push ebp
push 0
mov edi, dword [esp + 0x48]
push edi
push ecx
mov ecx, dword [0x661128]
call fcn.0056288c
mov ebx, eax
test ebx, ebx
jne 0x53b347
mov edx, dword [ebp + 0x1b]
cmp edx, 0xc09
je 0x53b505
test dh, 1
jne 0x53b327
movzx edx, word [ebp + 0xa]
shl edx, 0x15
sar edx, 0x1b
cmp edx, 5
je 0x53b434
cmp edx, 4
je 0x53b3c8
mov edx, dword [esp + 0x3c]
cmp esi, dword [edx + 0xf]
je 0x53b3a2
lea edx, [esp]
push edx
mov ecx, ebp
call fcn.00503764
push 0x3ff
mov ecx, ebp
call fcn.00503254
lea ecx, [esp + 0xc]
call fcn.005003d8
lea ecx, [esp]
call fcn.005003d8
mov eax, ebx
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 0xc
lea ecx, [esp + 0xc]
push 0xa
call fcn.004fa970
lea eax, [esp + 0xc]
push 4
mov edx, dword [esp + 0x40]
push edx
push 0x829
push eax
mov ecx, dword [edx + 0xf]
call fcn.004ef304
mov eax, dword [esp + 0xc]
cmp dword [eax], 2
jne 0x53b39b
mov edi, 1
jmp 0x53b25d
xor edi, edi
jmp 0x53b25d
mov edx, dword [ebp + 0x1b]
cmp edx, 0x1000
jne 0x53b330
mov edx, dword [esi + 0x4f]
test edx, edx
je 0x53b330
lea edx, [esp]
push edx
mov ecx, ebp
call fcn.0050358c
jmp 0x53b33b
push 0
push esi
push 0x814
mov ecx, dword [esp + 0x48]
call fcn.004ef954
test eax, eax
je 0x53b327
test byte [eax + 9], 1
je 0x53b327
mov edi, dword [esp]
mov edx, dword [eax + 0x17]
cmp edx, 2
jne 0x53b3fd
mov edx, 1
jmp 0x53b3ff
xor edx, edx
cmp edx, dword [edi + 0xc]
je 0x53b414
xor eax, eax
xor ecx, ecx
sub eax, dword [edi + 4]
sbb ecx, dword [edi + 8]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp edx, dword [edi + 0x20]
je 0x53b42c
xor eax, eax
xor ecx, ecx
sub eax, dword [edi + 0x18]
sbb ecx, dword [edi + 0x1c]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], edx
jmp 0x53b327
push 0
push esi
push 0x814
mov ecx, dword [esp + 0x48]
call fcn.004ef954
test eax, eax
je 0x53b487
test byte [eax + 9], 1
jne 0x53b45e
movzx edx, word [ebp + 0xa]
shl edx, 0x15
sar edx, 0x1b
jmp 0x53b31e
mov edi, dword [esp]
mov edx, dword [eax + 0x17]
cmp edx, 2
jne 0x53b46d
xor edx, edx
jmp 0x53b472
mov edx, 1
mov dword [edi + 0x10], edx
mov dword [edi + 0x20], edx
movzx edx, word [ebp + 0xa]
shl edx, 0x15
sar edx, 0x1b
jmp 0x53b31e
mov edi, dword [esp]
mov edx, dword [edi + 8]
mov dword [esp + 0x18], edx
mov eax, dword [edi + 0xc]
mov edx, eax
sub edx, 0
jl 0x53b4aa
movzx edx, word [ebp + 0xa]
shl edx, 0x15
sar edx, 0x1b
jmp 0x53b31e
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x53b4b8
mov edx, 1
jmp 0x53b4ba
xor edx, edx
cmp ecx, edx
je 0x53b4db
mov dword [esp + 0x1c], edx
xor edx, edx
mov ecx, dword [esp + 0x18]
sub edx, ecx
mov ecx, 0
sbb ecx, eax
mov dword [edi + 8], edx
mov dword [edi + 0xc], ecx
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x10], edx
cmp edx, dword [edi + 0x20]
je 0x53b4f3
xor eax, eax
xor ecx, ecx
sub eax, dword [edi + 0x18]
sbb ecx, dword [edi + 0x1c]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], edx
movzx edx, word [ebp + 0xa]
shl edx, 0x15
sar edx, 0x1b
jmp 0x53b31e
push 0
push esi
push 0xc01
mov ecx, dword [esi + 0x3d]
call fcn.004ef954
test eax, eax
je 0x53b33b
movsx edi, word [esi + 0x13]
add edi, edi
mov esi, dword [0x65fdf8]
mov edx, dword [eax + 0x17]
add edx, 4
mov ecx, dword [esi + edi*8]
call fcn.00417030
cmp eax, 0xf
je 0x53b33b
cmp eax, 0x10
je 0x53b556
push 0x74e42c
mov ecx, ebp
call fcn.0050fc6c
jmp 0x53b33b
lea edx, [esp]
push edx
mov ecx, ebp
call fcn.00503764
jmp 0x53b33b
movsx ebx, word [esi + 0x13]
add ebx, ebx
mov edx, dword [0x65fdf8]
lea ecx, [esp]
push esi
mov eax, dword [esp + 0x40]
push eax
push dword [edx + ebx*8]
push ebp
push 0
mov edi, dword [esp + 0x48]
push edi
push ecx
mov ecx, dword [0x661128]
call fcn.00562df8
mov ebx, eax
jmp 0x53b2f3
movsx edx, word [esi + 0x13]
add edx, edx
mov eax, dword [0x65fdf8]
mov edx, dword [eax + edx*8]
mov eax, dword [0x661140]
test eax, eax
je 0x53b5d4
lea ebx, [esp]
push eax
push esi
mov eax, dword [esp + 0x44]
push eax
push edx
push ebp
mov edx, dword [esp + 0x48]
push edx
push ebx
mov ecx, dword [0x661128]
call fcn.00563494
mov ebx, eax
jmp 0x53b2f3
mov eax, 0x74e42c
jmp 0x53b5b0
mov ecx, dword [esp + 0x34]
call fcn.0053b670
test eax, eax
je 0x53b600
lea ecx, [esp]
push esi
push 0
mov eax, dword [esp + 0x3c]
push eax
push ebx
call fcn.004ffd78
mov ebx, eax
jmp 0x53b2f3
mov eax, dword [ebp + 0x17]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x53b61a
xor edx, edx
xor ebx, ebx
sub edx, dword [eax + 4]
sbb ebx, dword [eax + 8]
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], 0
mov edx, dword [eax + 0x20]
test edx, edx
je 0x53b638
xor edx, edx
xor ebx, ebx
sub edx, dword [eax + 0x18]
sbb ebx, dword [eax + 0x1c]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ebx
xor edx, edx
mov dword [eax + 0x20], edx
movsx ecx, word [esi + 0x13]
add ecx, ecx
mov edi, dword [0x65fdf8]
lea eax, [esp]
push esi
mov ebx, dword [esp + 0x40]
push ebx
push dword [edi + ecx*8]
push ebp
push edx
mov edx, dword [esp + 0x48]
push edx
push eax
mov ecx, dword [0x661128]
call fcn.00537da8
mov ebx, eax
jmp 0x53b2f3