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

Disassembly:
push 0xffffffffffffffff
push 0x528f82
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0xb4], 0x531158
mov word [esp + 0xb8], 0xffff
mov word [esp + 0xba], bx
mov dword [esp + 0x260], ebx
mov edi, 0x54d400
mov esi, 0x54d3f8
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x54d030
call fcn.0048a680
mov ecx, dword [0x55b3d0]
call fcn.0049aa70
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x54d3f0
call fcn.0048a680
mov ecx, dword [0x55b3d0]
call fcn.0049acb0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x54d3e8
call fcn.0048a680
mov ecx, dword [0x55b3d0]
call fcn.0049acb0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x54d3e0
call fcn.0048a680
mov ecx, dword [0x55b3d0]
call fcn.0049acb0
mov ecx, dword [0x55b3d0]
lea eax, [esp + 0xb4]
push eax
call fcn.0049adf0
cmp ax, 0xffff
je 0x475209
movsx eax, word [esp + 0xb8]
sub eax, ebx
je 0x474fdb
dec eax
je 0x474d5b
dec eax
jne 0x474665
push 6
push 0x54d3e0
lea ecx, [esp + 0xac]
call fcn.0048a680
mov cl, byte [esp + 0x13]
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x78], cl
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dl, byte [esp + 0x13]
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x38], dl
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
push 6
push 0x54d3d8
lea ecx, [esp + 0x30]
mov byte [esp + 0x268], 0x11
call fcn.0048a680
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x264], 0x12
call fcn.0048a610
mov eax, 0x54d3d0
mov byte [esp + 0x260], 0x13
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov eax, 0x54d3c8
mov dword [esp + 0xc4], 0x54d3c0
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov eax, 0x54d3b8
mov dword [esp + 0xc8], 0x54d3b0
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov eax, 0x54d3a8
mov dword [esp + 0xcc], 0x54d3a0
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov eax, 0x54d398
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov eax, 0x54d390
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], eax
mov eax, 0x54d388
mov dword [esp + 0xd0], 0x54d380
mov dword [esp + 0xd4], 0x54d378
mov dword [esp + 0xd8], 0x54d370
mov dword [esp + 0xdc], 0x54d368
mov dword [esp + 0xe0], 0x54d360
mov dword [esp + 0xe4], 0x54d358
mov dword [esp + 0xe8], 0x54d350
mov dword [esp + 0xec], 0x54d348
mov dword [esp + 0x100], 0x54d340
mov dword [esp + 0x104], 0x54d338
mov dword [esp + 0x108], edi
mov dword [esp + 0x10c], edi
mov dword [esp + 0x110], edi
mov dword [esp + 0x114], edi
mov dword [esp + 0x118], edi
mov dword [esp + 0x11c], edi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x130], esi
mov dword [esp + 0x134], esi
mov dword [esp + 0x138], esi
mov dword [esp + 0x13c], esi
mov dword [esp + 0x140], esi
mov dword [esp + 0x160], 0x54d330
mov dword [esp + 0x164], 0x54d328
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], eax
mov eax, 0x54d320
mov dword [esp + 0x170], 0x54d318
mov dword [esp + 0x218], eax
mov dword [esp + 0x21c], eax
mov eax, 0x54d310
mov dword [esp + 0x174], 0x54d308
mov dword [esp + 0x178], 0x54d300
mov dword [esp + 0x17c], 0x54d2f8
mov dword [esp + 0x180], 0x54d2f0
mov dword [esp + 0x184], 0x54d2e8
mov dword [esp + 0x188], 0x54d2e0
mov dword [esp + 0x18c], 0x54d2d8
mov dword [esp + 0x190], 0x54d2d0
mov dword [esp + 0x194], 0x54d2c8
mov dword [esp + 0x198], 0x54d2c0
mov dword [esp + 0x19c], 0x54d2b8
mov dword [esp + 0x1a0], 0x54d2b0
mov dword [esp + 0x1a4], 0x54d2a8
mov dword [esp + 0x1a8], 0x54d2a0
mov dword [esp + 0x1ac], 0x54d298
mov dword [esp + 0x1b0], 0x54d290
mov dword [esp + 0x1b4], 0x54d288
mov dword [esp + 0x1b8], 0x54d280
mov dword [esp + 0x1bc], 0x54d278
mov dword [esp + 0x1c0], 0x54d270
mov dword [esp + 0x1c4], 0x54d268
mov dword [esp + 0x1c8], 0x54d260
mov dword [esp + 0x1cc], 0x54d258
mov dword [esp + 0x1d0], 0x54d250
mov dword [esp + 0x1d4], 0x54d248
mov dword [esp + 0x1d8], 0x54d240
mov dword [esp + 0x1dc], 0x54d238
mov dword [esp + 0x1e0], 0x54d230
mov dword [esp + 0x1e4], 0x54d228
mov dword [esp + 0x1e8], 0x54d220
mov dword [esp + 0x1ec], 0x54d218
mov dword [esp + 0x1f0], 0x54d210
mov dword [esp + 0x1f4], 0x54d208
mov dword [esp + 0x1f8], 0x54d200
mov dword [esp + 0x1fc], 0x54d1f8
mov dword [esp + 0x200], 0x54d1f0
mov dword [esp + 0x204], 0x54d1e8
mov dword [esp + 0x208], 0x54d1e0
mov dword [esp + 0x20c], 0x54d1d8
mov dword [esp + 0x210], 0x54d1d0
mov dword [esp + 0x214], 0x54d1c8
mov dword [esp + 0x220], eax
mov dword [esp + 0x224], eax
mov dword [esp + 0x228], eax
mov dword [esp + 0x22c], eax
mov dword [esp + 0x230], 0x54d1c0
mov dword [esp + 0x234], 0x54d1b8
mov dword [esp + 0x238], 0x54d1b0
mov dword [esp + 0x23c], 0x54d1a8
mov dword [esp + 0x240], 0x54d1a0
mov dword [esp + 0x244], 0x54d198
mov dword [esp + 0x248], 0x54d190
mov dword [esp + 0x24c], 0x54d188
mov dword [esp + 0x250], 0x54d180
mov dword [esp + 0x254], 0x54d178
mov byte [esp + 0xa8], bl
lea ebp, [esp + 0xbc]
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x28]
push eax
push 5
call fcn.0048a9f0
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x28]
push ecx
push 1
push edx
lea ecx, [esp + 0x84]
call fcn.00405d10
mov eax, dword [ebp]
push 7
push eax
lea ecx, [esp + 0x28]
call fcn.0048ac30
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00473550
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x20]
push edx
push 1
push eax
lea ecx, [esp + 0x44]
call fcn.00405d10
mov al, byte [esp + 0xa8]
add ebp, 4
inc al
cmp al, 0x66
mov byte [esp + 0xa8], al
jbe 0x474ba3
push 0x47ade0
lea edx, [esp + 0x3c]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00407b30
sub esp, 0x10
lea eax, [esp + 0x9c]
mov ecx, esp
mov dword [esp + 0xd0], esp
push eax
mov byte [esp + 0x288], 0x14
call fcn.00407b30
push ecx
lea edx, [esp + 0xcc]
mov ecx, esp
mov dword [esp + 0xd8], esp
push edx
mov byte [esp + 0x28c], 0x15
call fcn.0048a5f0
mov ecx, dword [esp + 0x44]
mov byte [esp + 0x288], 0x13
call fcn.00475440
cmp al, bl
mov byte [esp + 0x260], 0x12
lea ecx, [esp + 0x20]
je 0x475211
call fcn.0048a720
lea ecx, [esp + 0x28]
mov byte [esp + 0x260], 0x11
call fcn.0048a720
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
cmp ebp, eax
mov byte [esp + 0x260], 0x10
mov dword [esp + 0x14], eax
je 0x474cdb
mov ecx, ebp
call fcn.0048a720
mov eax, dword [esp + 0x14]
add ebp, 4
cmp ebp, eax
jne 0x474cc5
mov ebp, dword [esp + 0x3c]
push ebp
call fcn.00514120
mov eax, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
add esp, 4
cmp ebp, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x260], 0xf
mov dword [esp + 0x14], eax
je 0x474d24
mov ecx, ebp
call fcn.0048a720
mov eax, dword [esp + 0x14]
add ebp, 4
cmp ebp, eax
jne 0x474d0e
mov ebp, dword [esp + 0x7c]
push ebp
call fcn.00514120
add esp, 4
lea ecx, [esp + 0xa4]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x260], bl
call fcn.0048a720
mov ebp, dword [esp + 0x1c]
jmp 0x474665
push 6
push 0x54d3e8
lea ecx, [esp + 0xa0]
call fcn.0048a680
mov al, byte [esp + 0x13]
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x68], al
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x48], cl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
push 6
push 0x54d170
lea ecx, [esp + 0x38]
mov byte [esp + 0x268], 0xa
call fcn.0048a680
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x264], 0xb
call fcn.0048a610
xor al, al
mov byte [esp + 0x260], 0xc
mov byte [esp + 0x34], al
jmp 0x474dd4
mov al, byte [esp + 0x34]
cmp al, bl
ja 0x474de1
push 6
push 0x54d168
jmp 0x474e47
cmp al, 1
ja 0x474dee
push 6
push 0x54d160
jmp 0x474e47
cmp al, 2
ja 0x474dfb
push 6
push 0x54d158
jmp 0x474e47
cmp al, 0x19
ja 0x474e08
push 6
push 0x54d150
jmp 0x474e47
cmp al, 0x1d
ja 0x474e15
push 6
push 0x54d148
jmp 0x474e47
cmp al, 0x1e
ja 0x474e22
push 6
push 0x54d140
jmp 0x474e47
cmp al, 0x1f
ja 0x474e2f
push 6
push 0x54d138
jmp 0x474e47
cmp al, 0x20
ja 0x474e3c
push 6
push 0x54d130
jmp 0x474e47
cmp al, 0x21
ja 0x474e50
push 6
push 0x54d128
lea ecx, [esp + 0x20]
call fcn.0048ac30
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x30]
push edx
push 5
call fcn.0048a9f0
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x30]
push eax
push 1
push ecx
lea ecx, [esp + 0x74]
call fcn.00405d10
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
call fcn.00473550
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x18]
push eax
push 1
push ecx
lea ecx, [esp + 0x54]
call fcn.00405d10
mov al, byte [esp + 0x34]
inc al
cmp al, 0x21
mov byte [esp + 0x34], al
jbe 0x474dd0
push 0x47a480
lea edx, [esp + 0x4c]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0xc4], esp
push edx
call fcn.00407b30
sub esp, 0x10
lea eax, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0xd0], esp
push eax
mov byte [esp + 0x288], 0xd
call fcn.00407b30
push ecx
lea edx, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x28c], 0xe
call fcn.0048a5f0
mov ecx, ebp
mov byte [esp + 0x288], 0xc
call fcn.00475440
cmp al, bl
mov byte [esp + 0x260], 0xb
lea ecx, [esp + 0x18]
je 0x4752c0
call fcn.0048a720
lea ecx, [esp + 0x30]
mov byte [esp + 0x260], 0xa
call fcn.0048a720
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
cmp ebp, eax
mov byte [esp + 0x260], 9
mov dword [esp + 0x14], eax
je 0x474f67
mov ecx, ebp
call fcn.0048a720
mov eax, dword [esp + 0x14]
add ebp, 4
cmp ebp, eax
jne 0x474f51
mov ebp, dword [esp + 0x4c]
push ebp
call fcn.00514120
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
add esp, 4
cmp ebp, eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x260], 8
mov dword [esp + 0x14], eax
je 0x474faa
mov ecx, ebp
call fcn.0048a720
mov eax, dword [esp + 0x14]
add ebp, 4
cmp ebp, eax
jne 0x474f94
mov ebp, dword [esp + 0x6c]
push ebp
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov byte [esp + 0x260], bl
call fcn.0048a720
mov ebp, dword [esp + 0x1c]
jmp 0x474665
push 6
push 0x54d3f0
lea ecx, [esp + 0xa4]
call fcn.0048a680
mov al, byte [esp + 0x13]
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x58], al
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x88], cl
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
push 6
push 0x54d120
lea ecx, [esp + 0x34]
mov byte [esp + 0x268], 3
call fcn.0048a680
push 6
push 0x54a938
lea ecx, [esp + 0x2c]
mov byte [esp + 0x268], 4
call fcn.0048a680
lea edx, [esp + 0x24]
mov ecx, ebp
push edx
mov byte [esp + 0x264], 5
call fcn.00473550
mov byte [esp + 0xa0], bl
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x2c]
push eax
push 5
call fcn.0048a9f0
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x2c]
push ecx
push 1
push edx
lea ecx, [esp + 0x64]
call fcn.00405d10
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x24]
push eax
push 1
push ecx
lea ecx, [esp + 0x94]
call fcn.00405d10
mov al, byte [esp + 0xa0]
inc al
cmp al, 0x77
mov byte [esp + 0xa0], al
jbe 0x47506d
push 0x475da0
lea edx, [esp + 0x8c]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0xc4], esp
push edx
call fcn.00407b30
sub esp, 0x10
lea eax, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0xd0], esp
push eax
mov byte [esp + 0x288], 6
call fcn.00407b30
push ecx
lea edx, [esp + 0xc4]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x28c], 7
call fcn.0048a5f0
mov ecx, ebp
mov byte [esp + 0x288], 5
call fcn.00475440
cmp al, bl
mov byte [esp + 0x260], 4
lea ecx, [esp + 0x24]
je 0x475363
call fcn.0048a720
lea ecx, [esp + 0x2c]
mov byte [esp + 0x260], 3
call fcn.0048a720
mov eax, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
cmp ebp, eax
mov byte [esp + 0x260], 2
mov dword [esp + 0x14], eax
je 0x47518c
mov ecx, ebp
call fcn.0048a720
mov eax, dword [esp + 0x14]
add ebp, 4
cmp ebp, eax
jne 0x475173
mov ebp, dword [esp + 0x8c]
push ebp
call fcn.00514120
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
add esp, 4
cmp ebp, eax
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov byte [esp + 0x260], 1
mov dword [esp + 0x14], eax
je 0x4751d8
mov ecx, ebp
call fcn.0048a720
mov eax, dword [esp + 0x14]
add ebp, 4
cmp ebp, eax
jne 0x4751c2
mov ebp, dword [esp + 0x5c]
push ebp
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x9c]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov byte [esp + 0x260], bl
call fcn.0048a720
mov ebp, dword [esp + 0x1c]
jmp 0x474665
xor ax, ax
jmp 0x47541c
call fcn.0048a720
lea ecx, [esp + 0x28]
mov byte [esp + 0x260], 0x11
call fcn.0048a720
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
cmp esi, eax
mov byte [esp + 0x260], 0x10
mov edi, eax
je 0x47524f
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x47523d
mov esi, dword [esp + 0x3c]
push esi
call fcn.00514120
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
add esp, 4
cmp esi, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x260], 0xf
mov edi, eax
je 0x475292
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x475280
mov esi, dword [esp + 0x7c]
push esi
call fcn.00514120
add esp, 4
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x260], bl
lea ecx, [esp + 0xa4]
jmp 0x475413
call fcn.0048a720
lea ecx, [esp + 0x30]
mov byte [esp + 0x260], 0xa
call fcn.0048a720
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
cmp esi, eax
mov byte [esp + 0x260], 9
mov edi, eax
je 0x4752fe
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x4752ec
mov esi, dword [esp + 0x4c]
push esi
call fcn.00514120
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
add esp, 4
cmp esi, eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x260], 8
mov edi, eax
je 0x47533b
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x475329
mov esi, dword [esp + 0x6c]
push esi
call fcn.00514120
add esp, 4
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov byte [esp + 0x260], bl
lea ecx, [esp + 0x98]
jmp 0x475413
call fcn.0048a720
lea ecx, [esp + 0x2c]
mov byte [esp + 0x260], 3
call fcn.0048a720
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x8c]
cmp esi, eax
mov byte [esp + 0x260], 2
mov edi, eax
je 0x4753aa
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x475395
mov esi, dword [esp + 0x8c]
push esi
call fcn.00514120
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
add esp, 4
cmp esi, eax
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov byte [esp + 0x260], 1
mov edi, eax
je 0x4753f0
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x4753de
mov esi, dword [esp + 0x5c]
push esi
call fcn.00514120
add esp, 4
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov byte [esp + 0x260], bl
lea ecx, [esp + 0x9c]
call fcn.0048a720
or ax, 0xffff
mov ecx, dword [esp + 0x258]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x254
ret