Function at 0x4112e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476f72
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x49f4a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x4c], ebx
mov eax, dword fs:[0x2c]
mov esi, dword [eax]
mov eax, dword [0x4a8618]
cmp eax, dword [esi + 4]
jle 0x4114b2
push 0x4a8618
call fcn.0042bdc9
add esp, 4
cmp dword [0x4a8618], 0xffffffff
jne 0x4114b2
push 0xc
push str.WEAPON_SWORD
mov ecx, 0x4a8528
mov dword [0x4a8538], 0
mov dword [0x4a853c], 0xf
mov byte [0x4a8528], 0
call fcn.00408b40
mov dword [ebp - 4], 0
mov ecx, 0x4a8540
push 0xd
push str.WEAPON_DAGGER
mov dword [0x4a8550], 0
mov dword [0x4a8554], 0xf
mov byte [0x4a8540], 0
call fcn.00408b40
mov byte [ebp - 4], 1
mov ecx, 0x4a8558
push 0xa
push str.WEAPON_BOW
mov dword [0x4a8568], 0
mov dword [0x4a856c], 0xf
mov byte [0x4a8558], 0
call fcn.00408b40
mov byte [ebp - 4], 2
mov ecx, 0x4a8570
push 0x11
push str.WEAPON_TWO_HANDED
mov dword [0x4a8580], 0
mov dword [0x4a8584], 0xf
mov byte [0x4a8570], 0
call fcn.00408b40
mov byte [ebp - 4], 3
mov ecx, 0x4a8588
push 0xb
push str.WEAPON_BELL
mov dword [0x4a8598], 0
mov dword [0x4a859c], 0xf
mov byte [0x4a8588], 0
call fcn.00408b40
mov byte [ebp - 4], 4
mov ecx, 0x4a85a0
push 0xa
push str.WEAPON_FAN
mov dword [0x4a85b0], 0
mov dword [0x4a85b4], 0xf
mov byte [0x4a85a0], 0
call fcn.00408b40
mov byte [ebp - 4], 5
mov ecx, 0x4a85b8
push 0xc
push str.WEAPON_ARROW
mov dword [0x4a85c8], 0
mov dword [0x4a85cc], 0xf
mov byte [0x4a85b8], 0
call fcn.00408b40
push 0x479830
mov dword [ebp - 4], 0xffffffff
call fcn.0042c126
push 0x4a8618
call fcn.0042bd7f
add esp, 8
mov eax, dword [0x4a861c]
cmp eax, dword [esi + 4]
jle 0x41164a
push 0x4a861c
call fcn.0042bdc9
add esp, 4
cmp dword [0x4a861c], 0xffffffff
jne 0x41164a
push 0xa
push str.ARMOR_BODY
mov ecx, 0x4a8480
mov dword [0x4a8490], 0
mov dword [0x4a8494], 0xf
mov byte [0x4a8480], 0
call fcn.00408b40
mov dword [ebp - 4], 6
mov ecx, 0x4a8498
push 0xa
push str.ARMOR_HEAD
mov dword [0x4a84a8], 0
mov dword [0x4a84ac], 0xf
mov byte [0x4a8498], 0
call fcn.00408b40
mov byte [ebp - 4], 7
mov ecx, 0x4a84b0
push 0xc
push str.ARMOR_SHIELD
mov dword [0x4a84c0], 0
mov dword [0x4a84c4], 0xf
mov byte [0x4a84b0], 0
call fcn.00408b40
mov byte [ebp - 4], 8
mov ecx, 0x4a84c8
push 0xb
push str.ARMOR_WRIST
mov dword [0x4a84d8], 0
mov dword [0x4a84dc], 0xf
mov byte [0x4a84c8], 0
call fcn.00408b40
mov byte [ebp - 4], 9
mov ecx, 0x4a84e0
push 0xb
push str.ARMOR_FOOTS
mov dword [0x4a84f0], 0
mov dword [0x4a84f4], 0xf
mov byte [0x4a84e0], 0
call fcn.00408b40
mov byte [ebp - 4], 0xa
mov ecx, 0x4a84f8
push 0xa
push str.ARMOR_NECK
mov dword [0x4a8508], 0
mov dword [0x4a850c], 0xf
mov byte [0x4a84f8], 0
call fcn.00408b40
mov byte [ebp - 4], 0xb
mov ecx, 0x4a8510
push 9
push str.ARMOR_EAR
mov dword [0x4a8520], 0
mov dword [0x4a8524], 0xf
mov byte [0x4a8510], 0
call fcn.00408b40
push 0x479810
mov dword [ebp - 4], 0xffffffff
call fcn.0042c126
push 0x4a861c
call fcn.0042bd7f
add esp, 8
mov eax, dword [0x4a8620]
cmp eax, dword [esi + 4]
jle 0x411c62
push 0x4a8620
call fcn.0042bdc9
add esp, 4
cmp dword [0x4a8620], 0xffffffff
jne 0x411c62
push 0xa
push str.USE_POTION
mov ecx, 0x4a8198
mov dword [0x4a81a8], 0
mov dword [0x4a81ac], 0xf
mov byte [0x4a8198], 0
call fcn.00408b40
mov dword [ebp - 4], 0xc
mov ecx, 0x4a81b0
push 0xc
push str.USE_TALISMAN
mov dword [0x4a81c0], 0
mov dword [0x4a81c4], 0xf
mov byte [0x4a81b0], 0
call fcn.00408b40
mov byte [ebp - 4], 0xd
mov ecx, 0x4a81c8
push 0xa
push str.USE_TUNING
mov dword [0x4a81d8], 0
mov dword [0x4a81dc], 0xf
mov byte [0x4a81c8], 0
call fcn.00408b40
mov byte [ebp - 4], 0xe
mov ecx, 0x4a81e0
push 8
push str.USE_MOVE
mov dword [0x4a81f0], 0
mov dword [0x4a81f4], 0xf
mov byte [0x4a81e0], 0
call fcn.00408b40
mov byte [ebp - 4], 0xf
mov ecx, 0x4a81f8
push 0x10
push str.USE_TREASURE_BOX
mov dword [0x4a8208], 0
mov dword [0x4a820c], 0xf
mov byte [0x4a81f8], 0
call fcn.00408b40
mov byte [ebp - 4], 0x10
mov ecx, 0x4a8210
push 0xc
push str.USE_MONEYBAG
mov dword [0x4a8220], 0
mov dword [0x4a8224], 0xf
mov byte [0x4a8210], 0
call fcn.00408b40
mov byte [ebp - 4], 0x11
mov ecx, 0x4a8228
push 8
push str.USE_BAIT
mov dword [0x4a8238], 0
mov dword [0x4a823c], 0xf
mov byte [0x4a8228], 0
call fcn.00408b40
mov byte [ebp - 4], 0x12
mov ecx, 0x4a8240
push 0xe
push str.USE_ABILITY_UP
mov dword [0x4a8250], 0
mov dword [0x4a8254], 0xf
mov byte [0x4a8240], 0
call fcn.00408b40
mov byte [ebp - 4], 0x13
mov ecx, 0x4a8258
push 0xa
push str.USE_AFFECT
mov dword [0x4a8268], 0
mov dword [0x4a826c], 0xf
mov byte [0x4a8258], 0
call fcn.00408b40
mov byte [ebp - 4], 0x14
push 0x10
push str.USE_CREATE_STONE
mov ecx, 0x4a8270
mov dword [0x4a8280], 0
mov dword [0x4a8284], 0xf
mov byte [0x4a8270], 0
call fcn.00408b40
mov byte [ebp - 4], 0x15
mov ecx, 0x4a8288
push 0xb
push str.USE_SPECIAL
mov dword [0x4a8298], 0
mov dword [0x4a829c], 0xf
mov byte [0x4a8288], 0
call fcn.00408b40
mov byte [ebp - 4], 0x16
mov ecx, 0x4a82a0
push 0x12
push str.USE_POTION_NODELAY
mov dword [0x4a82b0], 0
mov dword [0x4a82b4], 0xf
mov byte [0x4a82a0], 0
call fcn.00408b40
mov byte [ebp - 4], 0x17
mov ecx, 0x4a82b8
push 9
push str.USE_CLEAR
mov dword [0x4a82c8], 0
mov dword [0x4a82cc], 0xf
mov byte [0x4a82b8], 0
call fcn.00408b40
mov byte [ebp - 4], 0x18
mov ecx, 0x4a82d0
push 0x10
push str.USE_INVISIBILITY
mov dword [0x4a82e0], 0
mov dword [0x4a82e4], 0xf
mov byte [0x4a82d0], 0
call fcn.00408b40
mov byte [ebp - 4], 0x19
mov ecx, 0x4a82e8
push 0xe
push str.USE_DETACHMENT
mov dword [0x4a82f8], 0
mov dword [0x4a82fc], 0xf
mov byte [0x4a82e8], 0
call fcn.00408b40
mov byte [ebp - 4], 0x1a
mov ecx, 0x4a8300
push 0xa
push str.USE_BUCKET
mov dword [0x4a8310], 0
mov dword [0x4a8314], 0xf
mov byte [0x4a8300], 0
call fcn.00408b40
mov byte [ebp - 4], 0x1b
mov ecx, 0x4a8318
push 0x13
push str.USE_POTION_CONTINUE
mov dword [0x4a8328], 0
mov dword [0x4a832c], 0xf
mov byte [0x4a8318], 0
call fcn.00408b40
mov byte [ebp - 4], 0x1c
mov ecx, 0x4a8330
push 0x10
push str.USE_CLEAN_SOCKET
mov dword [0x4a8340], 0
mov dword [0x4a8344], 0xf
mov byte [0x4a8330], 0
call fcn.00408b40
mov byte [ebp - 4], 0x1d
push 0x14
push str.USE_CHANGE_ATTRIBUTE
mov ecx, 0x4a8348
mov dword [0x4a8358], 0
mov dword [0x4a835c], 0xf
mov byte [0x4a8348], 0
call fcn.00408b40
mov byte [ebp - 4], 0x1e
mov ecx, 0x4a8360
push 0x11
push str.USE_ADD_ATTRIBUTE
mov dword [0x4a8370], 0
mov dword [0x4a8374], 0xf
mov byte [0x4a8360], 0
call fcn.00408b40
mov byte [ebp - 4], 0x1f
mov ecx, 0x4a8378
push 0x18
push str.USE_ADD_ACCESSORY_SOCKET
mov dword [0x4a8388], 0
mov dword [0x4a838c], 0xf
mov byte [0x4a8378], 0
call fcn.00408b40
mov byte [ebp - 4], 0x20
mov ecx, 0x4a8390
push 0x1d
push str.USE_PUT_INTO_ACCESSORY_SOCKET
mov dword [0x4a83a0], 0
mov dword [0x4a83a4], 0xf
mov byte [0x4a8390], 0
call fcn.00408b40
mov byte [ebp - 4], 0x21
mov ecx, 0x4a83a8
push 0x12
push str.USE_ADD_ATTRIBUTE2
mov dword [0x4a83b8], 0
mov dword [0x4a83bc], 0xf
mov byte [0x4a83a8], 0
call fcn.00408b40
mov byte [ebp - 4], 0x22
mov ecx, 0x4a83c0
push 0xa
push str.USE_RECIPE
mov dword [0x4a83d0], 0
mov dword [0x4a83d4], 0xf
mov byte [0x4a83c0], 0
call fcn.00408b40
mov byte [ebp - 4], 0x23
mov ecx, 0x4a83d8
push 0x15
push str.USE_CHANGE_ATTRIBUTE2
mov dword [0x4a83e8], 0
mov dword [0x4a83ec], 0xf
mov byte [0x4a83d8], 0
call fcn.00408b40
mov byte [ebp - 4], 0x24
mov ecx, 0x4a83f0
push 8
push str.USE_BIND
mov dword [0x4a8400], 0
mov dword [0x4a8404], 0xf
mov byte [0x4a83f0], 0
call fcn.00408b40
mov byte [ebp - 4], 0x25
mov ecx, 0x4a8408
push 0xa
push str.USE_UNBIND
mov dword [0x4a8418], 0
mov dword [0x4a841c], 0xf
mov byte [0x4a8408], 0
call fcn.00408b40
mov byte [ebp - 4], 0x26
push 0x13
push str.USE_TIME_CHARGE_PER
mov ecx, 0x4a8420
mov dword [0x4a8430], 0
mov dword [0x4a8434], 0xf
mov byte [0x4a8420], 0
call fcn.00408b40
mov byte [ebp - 4], 0x27
mov ecx, 0x4a8438
push 0x13
push str.USE_TIME_CHARGE_FIX
mov dword [0x4a8448], 0
mov dword [0x4a844c], 0xf
mov byte [0x4a8438], 0
call fcn.00408b40
mov byte [ebp - 4], 0x28
mov ecx, 0x4a8450
push 0x18
push str.USE_PUT_INTO_BELT_SOCKET
mov dword [0x4a8460], 0
mov dword [0x4a8464], 0xf
mov byte [0x4a8450], 0
call fcn.00408b40
mov byte [ebp - 4], 0x29
mov ecx, 0x4a8468
push 0x18
push str.USE_PUT_INTO_RING_SOCKET
mov dword [0x4a8478], 0
mov dword [0x4a847c], 0xf
mov byte [0x4a8468], 0
call fcn.00408b40
push 0x4797f0
mov dword [ebp - 4], 0xffffffff
call fcn.0042c126
push 0x4a8620
call fcn.0042bd7f
add esp, 8
mov eax, dword [0x4a8614]
cmp eax, dword [esi + 4]
jle 0x411d9a
push 0x4a8614
call fcn.0042bdc9
add esp, 4
cmp dword [0x4a8614], 0xffffffff
jne 0x411d9a
push 0x10
push str.MATERIAL_LEATHER
mov ecx, 0x4a8120
mov dword [0x4a8130], 0
mov dword [0x4a8134], 0xf
mov byte [0x4a8120], 0
call fcn.00408b40
mov dword [ebp - 4], 0x2a
mov ecx, 0x4a8138
push 0xe
push str.MATERIAL_BLOOD
mov dword [0x4a8148], 0
mov dword [0x4a814c], 0xf
mov byte [0x4a8138], 0
call fcn.00408b40
mov byte [ebp - 4], 0x2b
mov ecx, 0x4a8150
push 0xd
push str.MATERIAL_ROOT
mov dword [0x4a8160], 0
mov dword [0x4a8164], 0xf
mov byte [0x4a8150], 0
call fcn.00408b40
mov byte [ebp - 4], 0x2c
mov ecx, 0x4a8168
push 0xf
push str.MATERIAL_NEEDLE
mov dword [0x4a8178], 0
mov dword [0x4a817c], 0xf
mov byte [0x4a8168], 0
call fcn.00408b40
mov byte [ebp - 4], 0x2d
mov ecx, 0x4a8180
push 0xe
push str.MATERIAL_JEWEL
mov dword [0x4a8190], 0
mov dword [0x4a8194], 0xf
mov byte [0x4a8180], 0
call fcn.00408b40
push 0x4797d0
mov dword [ebp - 4], 0xffffffff
call fcn.0042c126
push 0x4a8614
call fcn.0042bd7f
add esp, 8
mov eax, dword [0x4a8628]
cmp eax, dword [esi + 4]
jle 0x411e3e
push 0x4a8628
call fcn.0042bdc9
add esp, 4
cmp dword [0x4a8628], 0xffffffff
jne 0x411e3e
push 0xc
push str.METIN_NORMAL
mov ecx, 0x4a80f0
mov dword [0x4a8100], 0
mov dword [0x4a8104], 0xf
mov byte [0x4a80f0], 0
call fcn.00408b40
mov dword [ebp - 4], 0x2e
mov ecx, 0x4a8108
push 0xa
push str.METIN_GOLD
mov dword [0x4a8118], 0
mov dword [0x4a811c], 0xf
mov byte [0x4a8108], 0
call fcn.00408b40
push 0x4797b0
mov dword [ebp - 4], 0xffffffff
call fcn.0042c126
push 0x4a8628
call fcn.0042bd7f
add esp, 8
mov eax, dword [0x4a8624]
cmp eax, dword [esi + 4]
jle 0x411ee2
push 0x4a8624
call fcn.0042bdc9
add esp, 4
cmp dword [0x4a8624], 0xffffffff
jne 0x411ee2
push 0xc
push str.COSTUME_BODY
mov ecx, 0x4a85d0
mov dword [0x4a85e0], 0
mov dword [0x4a85e4], 0xf
mov byte [0x4a85d0], 0
call fcn.00408b40
mov dword [ebp - 4], 0x2f
mov ecx, 0x4a85e8
push 0xc
push str.COSTUME_HAIR
mov dword [0x4a85f8], 0
mov dword [0x4a85fc], 0xf
mov byte [0x4a85e8], 0
call fcn.00408b40
push 0x479790
mov dword [ebp - 4], 0xffffffff
call fcn.0042c126
push 0x4a8624
call fcn.0042bd7f
add esp, 8
mov eax, dword [0x4a8610]
cmp eax, dword [esi + 4]
jle 0x41204a
push 0x4a8610
call fcn.0042bdc9
add esp, 4
cmp dword [0x4a8610], 0xffffffff
jne 0x41204a
push 8
push str.DS_SLOT1
mov ecx, 0x4a8060
mov dword [0x4a8070], 0
mov dword [0x4a8074], 0xf
mov byte [0x4a8060], 0
call fcn.00408b40
mov dword [ebp - 4], 0x30
mov ecx, 0x4a8078
push 8
push str.DS_SLOT2
mov dword [0x4a8088], 0
mov dword [0x4a808c], 0xf
mov byte [0x4a8078], 0
call fcn.00408b40
mov byte [ebp - 4], 0x31
mov ecx, 0x4a8090
push 8
push str.DS_SLOT3
mov dword [0x4a80a0], 0
mov dword [0x4a80a4], 0xf
mov byte [0x4a8090], 0
call fcn.00408b40
mov byte [ebp - 4], 0x32
mov ecx, 0x4a80a8
push 8
push str.DS_SLOT4
mov dword [0x4a80b8], 0
mov dword [0x4a80bc], 0xf
mov byte [0x4a80a8], 0
call fcn.00408b40
mov byte [ebp - 4], 0x33
mov ecx, 0x4a80c0
push 8
push str.DS_SLOT5
mov dword [0x4a80d0], 0
mov dword [0x4a80d4], 0xf
mov byte [0x4a80c0], 0
call fcn.00408b40
mov byte [ebp - 4], 0x34
mov ecx, 0x4a80d8
push 8
push str.DS_SLOT6
mov dword [0x4a80e8], 0
mov dword [0x4a80ec], 0xf
mov byte [0x4a80d8], 0
call fcn.00408b40
push 0x479770
mov dword [ebp - 4], 0xffffffff
call fcn.0042c126
push 0x4a8610
call fcn.0042bd7f
add esp, 8
cmp dword [ebx*4 + 0x4934f0], 0
jne 0x41205b
xor eax, eax
jmp 0x412232
mov edx, edi
lea ecx, [ebp - 0x64]
call fcn.0040f3b0
mov edx, eax
mov dword [ebp - 4], 0x35
lea ecx, [ebp - 0x28]
call fcn.0040f230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x4120b1
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4120a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41224e
push edx
push ecx
call fcn.0042bbf9
add esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
xor esi, esi
mov dword [ebp - 4], 0x36
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x44], esi
cmp dword [ebx*4 + 0x493468], esi
jle 0x4121ca
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov eax, dword [ebx*4 + 0x4934f0]
add eax, ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.00406670
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x30]
jne 0x41217a
cmp ebx, 0x10
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x28]
mov esi, eax
cmovae ecx, edi
cmp dword [ebp - 0x14], 0x10
cmovae edx, dword [ebp - 0x28]
sub esi, 4
jb 0x412131
nop
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x41213a
add edx, 4
add ecx, 4
sub esi, 4
jae 0x412120
cmp esi, 0xfffffffc
je 0x4121f4
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x412177
cmp esi, 0xfffffffd
je 0x4121f4
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x412177
cmp esi, 0xfffffffe
je 0x4121f4
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x412177
cmp esi, 0xffffffff
je 0x4121f4
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4121f4
mov esi, dword [ebp - 0x44]
cmp ebx, 0x10
jb 0x4121aa
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4121a0
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41224e
push ecx
push edi
call fcn.0042bbf9
add esp, 8
mov ebx, dword [ebp - 0x4c]
inc esi
mov ecx, dword [ebp - 0x48]
add ecx, 0x18
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], ecx
cmp esi, dword [ebx*4 + 0x493468]
jl 0x4120e4
mov edx, dword [ebp - 0x28]
or esi, 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x412230
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x412226
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412253
jmp 0x412226
mov esi, dword [ebp - 0x44]
cmp ebx, 0x10
jb 0x412221
inc ebx
mov eax, edi
cmp ebx, 0x1000
jb 0x412217
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412258
push ebx
push edi
call fcn.0042bbf9
add esp, 8
mov edx, dword [ebp - 0x28]
jmp 0x4121cd
push ecx
push edx
call fcn.0042bbf9
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042bbb8
mov esp, ebp
pop ebp
ret
call fcn.00455e0a
call fcn.00455e0a
call fcn.00455e0a
int3