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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x78
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0x1e
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x80], ecx
cmp byte [0x59f5f9], 0
jne 0x4b3590
mov dword [0x59f608], 0
push 0x59f5fc
push 0x401fb0
push 0x59f608
call fcn.0053b120
add esp, 0xc
mov byte [0x59f5f9], 1
cmp byte [0x59f60c], 0
jne 0x4b35c1
mov dword [0x59f61c], 0
push 0x59f610
push 0x401fb0
push 0x59f61c
call fcn.0053b120
add esp, 0xc
mov byte [0x59f60c], 1
mov eax, dword [ebp - 0x80]
mov edx, dword [eax + 0x18]
cmp edx, 2
ja case.default.0x4b35d0
jmp dword [edx*4 + 0x544598]
mov eax, dword [ebp - 0x80]
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x4b35eb
mov edx, dword [ebp - 0x1c]
inc dword [edx]
push 0x59f608
mov eax, dword [ebp - 0x80]
add eax, 0x5c
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00486240
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x4b3611
mov ecx, dword [ebp - 0x1c]
call fcn.0040c8f0
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x5c], 0
je 0x4b3625
mov eax, dword [ebp - 0x80]
mov edx, dword [eax + 0x5c]
mov eax, dword [edx + 0xc]
jmp 0x4b362a
mov eax, 0
cmp eax, 0
jne 0x4b3776
mov dword [ebp - 0x7c], 0
jmp 0x4b3767
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x4c]
cmp dword [ebp - 0x7c], ecx
jb 0x4b3656
mov edx, dword [ebp - 0x7c]
add edx, 1
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x4c], edx
mov edx, dword [ebp - 0x7c]
lea edx, [edx*4]
mov eax, dword [ebp - 0x80]
add edx, dword [eax + 0x48]
push 0
mov eax, dword [edx]
add eax, 4
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040df10
add esp, 0xc
mov dword [ebp - 0x24], 0
push 0x568603
call fcn.0040e8d0
pop ecx
push eax
push 0x568603
lea ecx, [ebp - 0x24]
call fcn.0040cb20
cmp dword [ebp - 0x24], 0
je 0x4b36ac
mov ebx, dword [ebp - 0x24]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040dcb0
add esp, 0xc
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x4c]
cmp dword [ebp - 0x7c], ecx
jb 0x4b36d7
mov edx, dword [ebp - 0x7c]
add edx, 1
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x4c], edx
mov edx, dword [ebp - 0x7c]
lea edx, [edx*4]
mov eax, dword [ebp - 0x80]
add edx, dword [eax + 0x48]
mov eax, dword [edx]
add eax, 0x10
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040dcb0
add esp, 0xc
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040df10
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x80]
add ecx, 0x5c
call fcn.0040d4e0
cmp dword [ebp - 0x30], 0
je 0x4b372c
mov ecx, dword [ebp - 0x30]
call fcn.0040c8f0
cmp dword [ebp - 0x2c], 0
je 0x4b373a
mov ecx, dword [ebp - 0x2c]
call fcn.0040c8f0
cmp dword [ebp - 0x28], 0
je 0x4b3748
mov ecx, dword [ebp - 0x28]
call fcn.0040c8f0
cmp dword [ebp - 0x24], 0
je 0x4b3756
mov ecx, dword [ebp - 0x24]
call fcn.0040c8f0
cmp dword [ebp - 0x20], 0
je 0x4b3764
mov ecx, dword [ebp - 0x20]
call fcn.0040c8f0
inc dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
mov edx, dword [eax + 0x4c]
cmp dword [ebp - 0x7c], edx
jb 0x4b363f
call fcn.0052fe80
cmp al, 0
je 0x4b3a0f
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x80]
add ecx, 0x5c
call fcn.0040cf40
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x80]
add ecx, 0x5c
call fcn.0040d2e0
cmp dword [ebp - 0x34], 0
je 0x4b37af
mov ecx, dword [ebp - 0x34]
call fcn.0040c8f0
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x59f608
call fcn.0040cf40
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x59f608
call fcn.0040d2e0
cmp dword [ebp - 0x38], 0
je 0x4b37d9
mov ecx, dword [ebp - 0x38]
call fcn.0040c8f0
push 0x4c
push 0
mov eax, dword [ebp - 0x80]
add eax, 0x4ac
push eax
call fcn.0040f420
add esp, 0xc
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x4ac], 0x4c
call fcn.00471210
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x4b0], eax
mov edx, dword [0x566240]
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x4b4], edx
mov ecx, dword [ebp - 0x80]
add ecx, 0x5c
call fcn.0040d1f0
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x4b8], eax
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x4cc], 0x400
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x4f0], 0x4b2a70
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x4e0], 0x880824
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x18], 0
jne 0x4b386b
mov eax, dword [ebp - 0x80]
or dword [eax + 0x4e0], 0x1000
jmp 0x4b3875
mov eax, dword [ebp - 0x80]
or dword [eax + 0x4e0], 2
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x80]
mov dword [eax + 0x4ec], ecx
cmp dword [0x59f608], 0
je 0x4b3897
mov edx, dword [0x59f608]
mov eax, dword [edx + 0xc]
shr eax, 1
jmp 0x4b389c
mov eax, 0
cmp eax, 0
je 0x4b38b4
mov ecx, 0x59f608
call fcn.0040d1f0
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x4e8], eax
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x3c], 0
je 0x4b391d
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x80]
mov edx, dword [eax + 0x3c]
mov edx, dword [edx + 0x18]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x28]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040cf40
lea ecx, [ebp - 0x3c]
call fcn.0040d280
push eax
push 0x59f620
call fcn.0053fd30
pop ecx
pop ecx
cmp dword [ebp - 0x3c], 0
je 0x4b3902
mov ecx, dword [ebp - 0x3c]
call fcn.0040c8f0
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x4d8], 0x59f620
cmp dword [ebp - 0xc], 0
je 0x4b391d
mov ecx, dword [ebp - 0xc]
call fcn.0040c8f0
mov eax, dword [ebp - 0x80]
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0
je 0x4b3931
mov edx, dword [ebp - 0x40]
inc dword [edx]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040cf40
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x80]
add ecx, 0xcf8
call fcn.0040d2e0
cmp dword [ebp - 0x44], 0
je 0x4b395d
mov ecx, dword [ebp - 0x44]
call fcn.0040c8f0
cmp dword [ebp - 0x40], 0
je 0x4b396b
mov ecx, dword [ebp - 0x40]
call fcn.0040c8f0
mov ecx, dword [ebp - 0x80]
add ecx, 0xcf8
call fcn.0040d280
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x4dc], eax
mov eax, dword [ebp - 0x80]
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 0
je 0x4b3996
mov edx, dword [ebp - 0x48]
inc dword [edx]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004b2830
pop ecx
pop ecx
cmp dword [ebp - 0x48], 0
je 0x4b39b3
mov ecx, dword [ebp - 0x48]
call fcn.0040c8f0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040cf40
lea ecx, [ebp - 0x4c]
call fcn.0040d280
push eax
mov eax, dword [ebp - 0x80]
add eax, 0x4f8
push eax
call fcn.0053fd30
pop ecx
pop ecx
cmp dword [ebp - 0x4c], 0
je 0x4b39e6
mov ecx, dword [ebp - 0x4c]
call fcn.0040c8f0
mov edx, dword [ebp - 0x80]
add edx, 0x4f8
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x4c8], edx
cmp dword [ebp - 0x10], 0
je case.default.0x4b35d0
mov ecx, dword [ebp - 0x10]
call fcn.0040c8f0
jmp case.default.0x4b35d0
mov eax, dword [ebp - 0x80]
mov edx, dword [eax + 0x5c]
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 0
je 0x4b3a23
mov edx, dword [ebp - 0x50]
inc dword [edx]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00514300
pop ecx
pop ecx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x80]
add ecx, 0x5c
call fcn.0040d2e0
cmp dword [ebp - 0x54], 0
je 0x4b3a4f
mov ecx, dword [ebp - 0x54]
call fcn.0040c8f0
cmp dword [ebp - 0x50], 0
je 0x4b3a5d
mov ecx, dword [ebp - 0x50]
call fcn.0040c8f0
push 0x4c
push 0
mov eax, dword [ebp - 0x80]
add eax, 0x60
push eax
call fcn.0040f420
add esp, 0xc
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x60], 0x4c
call fcn.00471210
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x64], eax
mov edx, dword [0x566240]
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x68], edx
mov ecx, dword [ebp - 0x80]
add ecx, 0x5c
call fcn.0040d1c0
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x6c], eax
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x80], 0x400
mov eax, dword [ebp - 0x80]
mov dword [eax + 0xa4], 0x4b2a70
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x94], 0x880824
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x18], 0
jne 0x4b3ae1
mov eax, dword [ebp - 0x80]
or dword [eax + 0x94], 0x1000
jmp 0x4b3aeb
mov eax, dword [ebp - 0x80]
or dword [eax + 0x94], 2
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x80]
mov dword [eax + 0xa0], ecx
cmp dword [0x59f608], 0
je 0x4b3b0b
mov edx, dword [0x59f608]
mov eax, dword [edx + 0xc]
jmp 0x4b3b10
mov eax, 0
cmp eax, 0
je 0x4b3b28
mov ecx, 0x59f608
call fcn.0040d1c0
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x9c], eax
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x3c], 0
je 0x4b3b77
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x80]
mov edx, dword [eax + 0x3c]
mov edx, dword [edx + 0x18]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x28]
lea ecx, [ebp - 0x14]
call fcn.0040d1c0
push eax
push 0x59fe20
call fcn.0040e930
pop ecx
pop ecx
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x8c], 0x59fe20
cmp dword [ebp - 0x14], 0
je 0x4b3b77
mov ecx, dword [ebp - 0x14]
call fcn.0040c8f0
mov eax, dword [ebp - 0x80]
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x58], 0
je 0x4b3b8b
mov edx, dword [ebp - 0x58]
inc dword [edx]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0047cc50
pop ecx
pop ecx
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x80]
add ecx, 0xcf8
call fcn.0040d2e0
cmp dword [ebp - 0x5c], 0
je 0x4b3bba
mov ecx, dword [ebp - 0x5c]
call fcn.0040c8f0
cmp dword [ebp - 0x58], 0
je 0x4b3bc8
mov ecx, dword [ebp - 0x58]
call fcn.0040c8f0
mov ecx, dword [ebp - 0x80]
add ecx, 0xcf8
call fcn.0040d250
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0x90], eax
mov eax, dword [ebp - 0x80]
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x60], 0
je 0x4b3bf3
mov edx, dword [ebp - 0x60]
inc dword [edx]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004b2830
pop ecx
pop ecx
cmp dword [ebp - 0x60], 0
je 0x4b3c10
mov ecx, dword [ebp - 0x60]
call fcn.0040c8f0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 0
je 0x4b3c21
mov edx, dword [ebp - 0x64]
inc dword [edx]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00514300
pop ecx
pop ecx
lea ecx, [ebp - 0x68]
call fcn.0040d250
push eax
mov eax, dword [ebp - 0x80]
add eax, 0xac
push eax
call fcn.0053ffc0
pop ecx
pop ecx
cmp dword [ebp - 0x68], 0
je 0x4b3c57
mov ecx, dword [ebp - 0x68]
call fcn.0040c8f0
cmp dword [ebp - 0x64], 0
je 0x4b3c65
mov ecx, dword [ebp - 0x64]
call fcn.0040c8f0
mov edx, dword [ebp - 0x80]
add edx, 0xac
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x7c], edx
cmp dword [ebp - 0x18], 0
je case.default.0x4b35d0
mov ecx, dword [ebp - 0x18]
call fcn.0040c8f0
jmp case.default.0x4b35d0
call fcn.0052fe80
cmp al, 0
je 0x4b3d6a
push 0x20
push 0
mov eax, dword [ebp - 0x80]
add eax, 0xd20
push eax
call fcn.0040f420
add esp, 0xc
call fcn.00471210
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0xd20], eax
mov eax, dword [ebp - 0x80]
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x6c], 0
je 0x4b3ccf
mov edx, dword [ebp - 0x6c]
inc dword [edx]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040cf40
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x80]
add ecx, 0xcfc
call fcn.0040d2e0
cmp dword [ebp - 0x70], 0
je 0x4b3cfb
mov ecx, dword [ebp - 0x70]
call fcn.0040c8f0
cmp dword [ebp - 0x6c], 0
je 0x4b3d09
mov ecx, dword [ebp - 0x6c]
call fcn.0040c8f0
mov ecx, dword [ebp - 0x80]
add ecx, 0xcfc
call fcn.0040d280
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0xd2c], eax
mov eax, dword [ebp - 0x80]
mov dword [eax + 0xd30], 5
push 0x568606
call fcn.005301e0
pop ecx
cmp eax, 0x50000
jb 0x4b3d4c
mov eax, dword [ebp - 0x80]
or dword [eax + 0xd30], 0x140
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x80]
mov dword [eax + 0xd38], ecx
mov eax, dword [ebp - 0x80]
mov dword [eax + 0xd34], 0x4b31a0
jmp case.default.0x4b35d0
push 0x20
push 0
mov eax, dword [ebp - 0x80]
add eax, 0xd00
push eax
call fcn.0040f420
add esp, 0xc
call fcn.00471210
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0xd00], eax
mov eax, dword [ebp - 0x80]
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x74], edx
cmp dword [ebp - 0x74], 0
je 0x4b3da1
mov edx, dword [ebp - 0x74]
inc dword [edx]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0047cc50
pop ecx
pop ecx
lea ecx, [ebp - 0x78]
call fcn.0040d250
mov ecx, dword [ebp - 0x80]
mov dword [ecx + 0xd0c], eax
cmp dword [ebp - 0x78], 0
je 0x4b3dcf
mov ecx, dword [ebp - 0x78]
call fcn.0040c8f0
cmp dword [ebp - 0x74], 0
je 0x4b3ddd
mov ecx, dword [ebp - 0x74]
call fcn.0040c8f0
mov eax, dword [ebp - 0x80]
mov dword [eax + 0xd10], 5
push 0x568606
call fcn.005301e0
pop ecx
cmp eax, 0x50000
jb 0x4b3e09
mov eax, dword [ebp - 0x80]
or dword [eax + 0xd10], 0x140
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x80]
mov dword [eax + 0xd18], ecx
mov eax, dword [ebp - 0x80]
mov dword [eax + 0xd14], 0x4b31a0
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret