Function at 0x503fb0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x24
call fcn.00609610
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
lea ecx, [esp + 0x2c]
call fcn.004f60c0
mov ebp, dword [esp + 0x38]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push esi
xor edi, edi
call dword [eax + 4]
mov edx, dword [esi]
xor eax, eax
mov ax, word [0x7324c4]
mov ecx, esi
push eax
call dword [edx + 0x20]
push 1
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call fcn.004f19b0
mov ecx, dword [esp + 0x28]
call fcn.00509230
mov edx, dword [esi]
mov dword [esi + 0xb4], eax
xor eax, eax
mov ax, word [0x7324c0]
mov ecx, esi
push eax
call dword [edx + 0x20]
mov ebx, eax
mov eax, dword [esi + 0xb4]
cmp eax, 0x44
je 0x504054
cmp eax, 0x55
je 0x504054
lea ecx, [esp + 0x20]
push ecx
push 0xa
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 2
call fcn.004f6210
mov ecx, dword [esi + 0x28]
push 0x4e
call fcn.00525150
mov dword [esi + 0x60], 0xffffffe0
jmp 0x50407d
mov ecx, dword [esi + 0x28]
push 0x4f
call fcn.00525150
lea edx, [esp + 0x20]
push edx
push 0xa
lea ecx, [esp + 0x30]
mov dword [esi + 0x60], 0xfffffff5
mov dword [esp + 0x28], 1
call fcn.004f6210
push 1
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call fcn.004f2350
mov ecx, ebx
push eax
call fcn.004eb230
mov ecx, dword [esi + 0x30]
xor eax, eax
cmp word [ecx + 0x16], ax
je 0x50429b
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov ebx, 1
xor ebp, ebp
call fcn.005109a0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebp
call fcn.004e22c0
mov ecx, dword [esi + 0x30]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
movzx eax, word [ecx + 0x16]
lea ecx, [eax + eax*2]
push 0x2c
lea ecx, [ecx*4 + 0x676b60]
call fcn.00510f40
mov eax, dword [esp + 0x10]
test ax, ax
je 0x504122
lea edx, [esp + 0x18]
push edx
movzx eax, ax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [eax + eax*2]
push 0x3a
lea ecx, [ecx*4 + 0x676b60]
call fcn.00510f40
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x20]
mov dword [esp + 0x1c], eax
jmp 0x504142
movzx eax, word [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [eax + eax*2]
push 0x3a
lea ecx, [ecx*4 + 0x676b60]
call fcn.00510f40
mov eax, dword [esp + 0x18]
test ax, ax
je 0x50415f
push 0
push esi
push esi
push eax
lea ecx, [esp + 0x30]
call fcn.005113e0
mov ebx, eax
test ebx, ebx
je 0x504177
mov ecx, dword [esi + 0x38]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx]
push 0
push esi
push edx
call dword [eax + 0x40]
mov ebp, eax
test ebp, ebp
jne 0x504177
xor ebx, ebx
mov ecx, 1
call fcn.004e2300
test ebx, ebx
je 0x50427d
mov eax, dword [esi + 0x38]
mov ecx, ebp
mov dword [esp + 0x24], eax
call fcn.004fb200
mov ebp, eax
test ebp, ebp
je 0x504290
call fcn.004e22c0
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x5041c5
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 0x80]
push eax
mov ecx, ebx
call fcn.004f2d90
jmp 0x5041c8
mov dword [esi + 0x38], ebp
mov eax, dword [esi + 0x30]
xor ecx, ecx
mov cx, word [eax + 6]
test cx, cx
je 0x504211
call fcn.00512ba0
mov edi, eax
test edi, edi
je 0x504211
xor eax, eax
mov ax, word [edi]
cmp ax, word [0x7323e8]
je 0x50420a
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x20]
test eax, eax
je 0x50420a
xor ecx, ecx
mov cx, word [edi + 2]
push esi
push ecx
mov ecx, eax
call fcn.004f2e30
mov edi, dword [edi + 4]
test edi, edi
jne 0x5041e1
test ebx, ebx
je 0x50422a
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 0x80]
push eax
mov ecx, ebx
call fcn.004f2d90
mov ecx, 1
call fcn.004e2300
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
mov ecx, esi
call fcn.00503cd0
mov edi, eax
cmp edi, 1
je 0x504290
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0x28]
mov dword [esi + 0x38], edx
mov edi, dword [eax + 0xd8]
cmp edi, 1
je 0x504290
mov ecx, ebp
call fcn.004ecf70
mov ebp, eax
test ebp, ebp
jne 0x5041a1
mov ecx, dword [esp + 0x20]
call fcn.00510990
jmp 0x5042aa
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
mov ecx, esi
call fcn.00503cd0
mov edi, eax
mov ecx, dword [esp + 0x20]
call fcn.00510990
jmp 0x5042aa
mov eax, dword [esp + 0x3c]
push eax
push ebp
mov ecx, esi
call fcn.00503cd0
mov edi, eax
mov eax, dword [esp + 0x3c]
xor ebp, ebp
cmp eax, ebp
jne 0x5042c4
mov ecx, dword [esi + 0x3c]
cmp ecx, ebp
je 0x5042c1
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x3c], ebp
cmp edi, 1
mov edi, dword [esi + 0x28]
mov ecx, dword [edi + 0x78]
jne 0x5042f2
cmp ecx, ebp
je 0x50430b
call fcn.00501290
mov eax, dword [edi + 0x78]
mov ecx, dword [eax + 0x10]
call fcn.004ed990
mov ecx, dword [edi + 0x78]
cmp ecx, ebp
je 0x504308
mov edx, dword [ecx]
push 1
call dword [edx]
jmp 0x504308
cmp ecx, ebp
je 0x50430b
call fcn.00501290
mov ecx, dword [edi + 0x78]
cmp ecx, ebp
je 0x504308
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x78], ebp
mov ecx, dword [esi + 0x28]
call fcn.00525110
lea ecx, [esp + 0x28]
call fcn.004f6160
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8