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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x7c
mov ebx, ecx
mov edx, dword [ebx + 0x3e0]
mov ecx, 2
lea eax, [edx + 0x23600]
cmp edx, eax
jae 0x60379f
mov ebp, dword [edx]
test ebp, ebp
je 0x603795
mov ebp, dword [edx + 0x14]
test ebp, ebp
je 0x603771
mov ebp, dword [edx + 0x10]
test ebp, ebp
jne 0x603771
add ecx, 0xffffffff
mov ebp, dword [edx + 0x188]
test ebp, ebp
je 0x603788
mov ebp, dword [edx + 0x184]
test ebp, ebp
jne 0x603788
add ecx, 0xffffffff
mov ebp, dword [edx + 0x2f8]
test ebp, ebp
jne 0x603795
add ecx, 0xffffffff
add edx, 0x46c
cmp edx, eax
jb 0x60375a
test ecx, ecx
jle 0x6039b8
mov eax, dword [ebx + 0x3cc]
mov edx, dword [eax]
mov ebp, dword [eax + 4]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov dword [esp], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x28]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x44]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x48]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x60]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x64]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x68]
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov esi, dword [ebx + 0x3e0]
lea eax, [esi + 0x23600]
cmp esi, eax
jae 0x6038e1
mov edx, eax
sub edx, esi
cmp edx, 0x1a88
jb 0x6038d1
mov edx, dword [esi]
test edx, edx
je 0x6038e3
add esi, 0x46c
mov edx, dword [esi]
test edx, edx
je 0x6038e3
add esi, 0x46c
mov edx, dword [esi]
test edx, edx
je 0x6038e3
add esi, 0x46c
mov edx, dword [esi]
test edx, edx
je 0x6038e3
add esi, 0x46c
mov edx, dword [esi]
test edx, edx
je 0x6038e3
add esi, 0x46c
lea edx, [eax - 0x1a88]
cmp esi, edx
jbe 0x60388b
mov edx, dword [esi]
test edx, edx
je 0x6038e3
add esi, 0x46c
cmp esi, eax
jb 0x6038d1
xor esi, esi
test esi, esi
je 0x6039c2
lea eax, [esp]
push eax
lea edi, [esi + 0x14]
lea ebp, [esi + 0x188]
lea edx, [esi + 0x2fc]
push edx
push ebp
push edi
call fcn.004e6914
lea eax, [esp + 0x10]
push eax
call fcn.004e6f24
mov ebp, eax
add esp, 0x14
mov edx, dword [esi + 0x14]
lea edi, [esi + 0x10]
test edx, edx
je 0x603937
push ebp
push edi
lea edx, [edi + 0x168]
push edx
push ebx
call fcn.004edb08
add esp, 0x10
mov dword [edi + 0x170], eax
mov edx, dword [esi + 0x188]
lea edi, [esi + 0x184]
test edx, edx
je 0x60395f
push ebp
push edi
lea edx, [edi + 0x168]
push edx
push ebx
call fcn.004edb08
add esp, 0x10
mov dword [edi + 0x170], eax
push ebp
lea edi, [esi + 0x2f8]
push edi
lea edx, [esi + 0x460]
push edx
push ebx
call fcn.004edb08
add esp, 0x10
mov dword [edi + 0x170], eax
mov dword [esi], 1
movzx ebp, word [esp + 0x38]
mov word [esi + 4], bp
movzx edi, word [esp + 0x3a]
mov word [esi + 6], di
movzx eax, word [esp + 0x3c]
mov word [esi + 8], ax
movzx edx, word [esp + 0x3e]
mov word [esi + 0xa], dx
movzx ecx, word [esp + 0x40]
mov word [esi + 0xc], cx
movzx ebx, byte [esp + 0x30]
mov byte [esi + 0xe], bl
add esp, 0x7c
pop ebx
pop ebp
pop esi
pop edi
ret 4
call fcn.004e71e0
mov edx, dword [ebx + 0x3e0]
lea eax, [edx + 0x23194]
mov esi, 4
mov ebp, eax
cmp eax, edx
jb 0x603b1c
mov edi, dword [ebx + 0x3e4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ebx
cmp ebp, edi
je 0x603b02
mov eax, dword [ebp]
test eax, eax
je 0x603b02
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x603a19
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x603b02
mov eax, dword [ebp + 0x188]
test eax, eax
je 0x603a31
mov eax, dword [ebp + 0x184]
test eax, eax
je 0x603b02
mov eax, dword [ebp + 0x2f8]
test eax, eax
je 0x603b02
mov ebx, dword [esp + 0x78]
mov ecx, dword [ebx + 0x3cc]
movsx eax, word [ebp + 4]
cmp ax, word [ecx + 0x38]
mov ebx, 0
je 0x603a5d
mov ebx, 1
movsx eax, word [ebp + 6]
cmp ax, word [ecx + 0x3a]
je 0x603a6a
add ebx, 1
movsx eax, word [ebp + 8]
cmp ax, word [ecx + 0x3c]
je 0x603a77
add ebx, 1
movsx eax, word [ebp + 0xa]
cmp ax, word [ecx + 0x3e]
je 0x603a84
add ebx, 1
movsx eax, word [ebp + 0xc]
cmp ax, word [ecx + 0x40]
je 0x603a91
add ebx, 1
mov al, byte [ebp + 0xe]
cmp al, byte [ecx + 0x30]
je 0x603a9c
add ebx, 1
mov eax, dword [esp + 0x74]
cmp ebx, eax
jl 0x603b02
mov ebx, dword [esp + 0x78]
mov eax, dword [ebp + 0x10]
mov dword [ebp], 0
test eax, eax
je 0x603ac5
test esi, esi
je 0x603ac5
lea ecx, [ebp + 0x178]
call fcn.00829de0
mov eax, dword [ebp + 0x184]
test eax, eax
je 0x603ae4
mov eax, dword [ebp + 0x188]
test eax, eax
je 0x603ae4
lea ecx, [ebp + 0x2ec]
call fcn.00829de0
mov eax, dword [ebp + 0x2f8]
test eax, eax
je 0x603afb
add ebp, 0x460
mov ecx, ebp
call fcn.00829de0
mov eax, 1
jmp 0x603b29
add ebp, 0xfffffb94
cmp ebp, edx
jae 0x6039f4
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
add esi, 0xffffffff
test esi, esi
jg 0x6039d8
xor eax, eax
test eax, eax
je 0x6039b8
mov esi, dword [ebx + 0x3e0]
lea eax, [esi + 0x23600]
cmp esi, eax
jae 0x603bbb
mov edx, eax
sub edx, esi
cmp edx, 0x1a88
jb 0x603ba7
mov edx, dword [esi]
test edx, edx
je 0x6038eb
add esi, 0x46c
mov edx, dword [esi]
test edx, edx
je 0x6038eb
add esi, 0x46c
mov edx, dword [esi]
test edx, edx
je 0x6038eb
add esi, 0x46c
mov edx, dword [esi]
test edx, edx
je 0x6038eb
add esi, 0x46c
mov edx, dword [esi]
test edx, edx
je 0x6038eb
add esi, 0x46c
lea edx, [eax - 0x1a88]
cmp esi, edx
jbe 0x603b4d
mov edx, dword [esi]
test edx, edx
je 0x6038eb
add esi, 0x46c
cmp esi, eax
jb 0x603ba7
xor esi, esi
jmp 0x6038eb